Tooltip Component Playground

Interactive playground to test all Tooltip props and variants

Props

Optional: Bold title text shown above content

Main content text displayed in the tooltip

Maximum width of the tooltip (default: 328px)

Delay before showing tooltip (default: 0ms)

Current State

Placement: top-start

Max Width: 328px

Show Close: Yes

Controlled: No

Preview

<TooltipProvider>
  <Tooltip
    trigger={<IconButton variant="primary">Hover me</IconButton>}
  title="Title Text"
  placement="top-start"
  >
    Tooltip content goes here
  </Tooltip>
</TooltipProvider>
{
  "placement": "top-start",
  "showCloseButton": true,
  "maxWidth": 328,
  "title": "Title Text",
  "trigger": "(ReactNode)",
  "children": "Tooltip content goes here"
}