Hover Card
For sighted users to preview content available behind a link.
Made by imskyleenInstallation
Usage
API Reference
HoverCard
HoverCardTrigger
HoverCardContent
Prop | Type | Default |
---|---|---|
transition? | Transition | { type: 'spring', stiffness: 300, damping: 25 } |
...props? | HTMLMotionProps<"div"> | - |
The asChild
and forceMount
props are not supported in the
HoverCardContent
component as it is used for animation.
Credits
- Radix UI Hover Card
- Credit to shadcn/ui for style inspiration.