Tooltip

Contextual label shown on hover or focus

Category: overlay · WCAG 2.2-AA · overlay, hint, popover

States

Props

PropTypeDefaultDescription
contentReactNodeThe tooltip content shown on hover/focus.
placement'top' | 'right' | 'bottom' | 'left'topSide of the trigger the tip opens on: `top`, `right`, `bottom` or `left`.
childrenReactElementContent rendered inside the component.
delaynumber200Milliseconds to wait before showing

Design tokens

When to use

When not to use

How to build an accessible Tooltip in React →

Examples

Basic

<Tooltip content="Copy to clipboard"><Button>Copy</Button></Tooltip>

Related components

← Back to docs