A small contextual label that appears on hover or focus to explain an element's purpose.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { Tooltip } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |
Uses `aria-describedby` to link the trigger to the tooltip content. Appears on hover and focus. Not focusable itself.