Skip to content

Tooltip

Terminal window
npx skeci-ui add tooltip
import { Tooltip } from '@/components/ui/tooltip';
<Tooltip content="Useful information">
<button>Hover me</button>
</Tooltip>
No Delay
Long Delay
PropTypeDefaultDescription
contentReactNode (required)The content to display inside the tooltip.
side'top' | 'bottom' | 'left' | 'right''top'The side of the element to display the tooltip on.
delaynumber300Delay in milliseconds before the tooltip appears.
asChildbooleanfalseWhether to merge props onto the child element.