Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    Tooltip

    interactive

    Concise hover and focus help with role="tooltip", trigger wiring through aria-describedby, side placement, optional delay, and render-prop control support.

    Preview

    Usage

    import { Tooltip } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <Tooltip
      content="Exports the current filtered result set as a CSV file."
      placement="bottom"
    >
      {(triggerProps) => (
        <button type="button" {...triggerProps}>
          Export CSV
        </button>
      )}
    </Tooltip>

    Props

    PropTypeDefaultDescription
    contentJSX.ElementrequiredTooltip body content
    childrenJSX.Element | (triggerProps) => JSX.ElementrequiredTrigger content, or render function that spreads trigger props onto a control
    placement'top' | 'bottom' | 'left' | 'right''top'Preferred tooltip side
    delaynumber120Show delay in milliseconds
    idstringgeneratedStable tooltip id
    disabledbooleanfalseDisables tooltip behavior and aria-describedby
    classstring--Additional classes on the root wrapper
    tooltipClassstring--Additional classes on the tooltip bubble

    Accessibility

    Do / Don't

    Do

    Use Tooltip for short, nonessential help that clarifies a nearby label, icon, or control.

    Don't

    Don't put required instructions, errors, or interactive controls inside a tooltip.