A popup that appears when an element is hovered or focused, showing a hint for sighted users.
Made by imskyleenInstallation
Usage
API Reference
TooltipProvider
Base UI API Reference - Tooltip.ProviderTooltip
Base UI API Reference - Tooltip.Root| Prop | Type | Default |
|---|---|---|
followCursor? | boolean | "x" | "y" | false |
followCursorSpringOptions? | SpringOptions | { stiffness: 200, damping: 17 } |
TooltipTrigger
Base UI API Reference - Tooltip.TriggerTooltipPortal
Base UI API Reference - Tooltip.PortalThe keepMounted property is not supported in the TooltipPortal component,
as it is used for animation.
TooltipPositioner
Base UI API Reference - Popover.PositionerTooltipPopup
Base UI API Reference - Tooltip.Popup| Prop | Type | Default |
|---|---|---|
transition? | Transition | { type: 'spring', stiffness: 300, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The render property is not supported in the TooltipPopup component, as it
is used for animation.