Beta

Tooltip

A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.

We take the Shadcn UI component and animate it with Motion.

Installation

Props

Animate UI props

TooltipContent

PropTypeDefault
transition?
Transition
{ type: 'spring', stiffness: 300, damping: 25 }

Credits

  • We use Radix UI for the tooltip component.
  • We take our inspiration from Shadcn UI for the tooltip style (to make it easier to replace a shadcn component with the animate ui component).

On this page