Beta
Animate UI

Tooltip

An animated tooltip that shows contextual info on hover or focus and smoothly glides to the next element without disappearing between transitions.

Installation

Props

TooltipProvider

PropTypeDefault
children
React.ReactNode
-
openDelay?
number
700
closeDelay?
number
300
transition?
Transition
{ type: 'spring', stiffness: 300, damping: 25 }

Tooltip

PropTypeDefault
children
React.ReactNode
-
side?
"top" | "bottom" | "left" | "right"
top
sideOffset?
number
4
align?
"start" | "center" | "end"
center
alignOffset?
number
-

TooltipContent

PropTypeDefault
children
React.ReactNode
-

TooltipTrigger

PropTypeDefault
children
React.ReactElement
-

Credits

  • We take our inspiration from Shadcn UI for the tooltip style.

Built by Skyleen. The source code is available on GitHub.

On this page