Tooltip
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
Made by imskyleenInstallation
Usage
API Reference
Tooltip
Prop | Type | Default |
---|---|---|
delayDuration? | number | 0 |
TooltipTrigger
TooltipContent
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 300, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The forceMount
and asChild
properties are not supported in the
TooltipContent
component, as it is used for animation.
Credits
- Radix UI Tooltip
- Credit to shadcn/ui for style inspiration.