Tooltip
OverlaysA short contextual label shown on hover or focus.
Live preview
Installation
Import the component from the kit. The package ships source and is transpiled by Next.js.
Usage
Compose the component with your own content. All controls share the same focus, disabled and invalid states.
API Reference
Props are additive to the underlying Base UI or native element.
| Prop | Type | Default | Description |
|---|---|---|---|
| content | ReactNode | — | Tooltip text. |
| children | ReactElement | — | Trigger element. |
| side | "top" | "bottom" | "left" | "right" | "top" | Preferred placement. |
| align | "start" | "center" | "end" | "center" | Alignment along the trigger. |
| delay | number | 300 | Open delay in milliseconds. |