Tooltip
A short label that shows on hover or keyboard focus.
A short label that shows on hover or keyboard focus.
It uses Button, which the command adds for you.
npx shadcn@latest add tooltip
npm install radix-ui
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
Wrap your app in <TooltipProvider> once, in the root layout, as shadcn's docs say.