Tooltip
An interactive, animated popup that displays information related to an element when it receives keyboard focus or when the mouse hovers over it.
Loading...
Installation
npx shadcn@latest add @scrollxui/tooltip Usage
import {
Tooltip,
TooltipContent,
TooltipTrigger,
} from '@/components/ui/tooltip';<Tooltip>
<TooltipTrigger>Hover</TooltipTrigger>
<TooltipContent>
<p>Isn't it cool?</p>
</TooltipContent>
</Tooltip>API Reference
Tooltip
An interactive, animated popup that displays information related to an element when it receives keyboard focus or when the mouse hovers over it.