npm_versionnpm Paragon package page

Tooltips display informative text when users hover over, focus on, or tap an element.

Basic Usage

Any Paragon component or export may be added to the code example.

Light version

Any Paragon component or export may be added to the code example.

Theme Variables#

CSS VariableComputed Value










Props API#

Tooltip Props API
  • id string Required

    An html id attribute, necessary for accessibility.

  • variant literal

    The visual style variant of the Tooltip. Use 'light' for a light-themed tooltip.

  • show boolean

    Whether the tooltip is currently visible.

  • placement Placement

    Sets the direction the Tooltip is positioned towards.

    This is generally provided by the Overlay component positioning the tooltip.

    Default'right'
  • className string

    Additional CSS class(es) to put on the tooltip element.

  • popper any

    A Popper.js config object passed to the the underlying popper instance.

  • bsPrefix unknown type
    Default'tooltip'

Usage Insights#

Tooltip

Project NameParagon VersionInstance Count
frontend-app-account22.10.01
frontend-app-admin-portal21.13.113
frontend-app-authn22.11.21
frontend-app-course-authoring22.8.111
xpert_unit_summary22.8.11
frontend-app-discussions22.7.019
frontend-app-gradebook22.8.11
frontend-app-learner-portal-enterprise21.13.13
frontend-app-learner-record22.10.01
frontend-app-learning22.10.01
frontend-app-library-authoring21.11.32
frontend-app-publisher21.13.12
frontend-app-support-tools21.13.12
frontend-component-header-edx21.13.11
frontend-component-header22.10.01
prospectus20.46.26