For sighted users to preview content available behind a link.
Made by imskyleenInstallation
Usage
API Reference
HoverCard
Radix UI API Reference - HoverCard.Root| Prop | Type | Default |
|---|---|---|
followCursor? | boolean | "x" | "y" | false |
followCursorSpringOptions? | SpringOptions | { stiffness: 200, damping: 17 } |
HoverCardTrigger
Radix UI API Reference - HoverCard.TriggerHoverCardPortal
Radix UI API Reference - HoverCard.PortalThe forceMount property is not supported in the HoverCardPortal component,
as it is used for animation.
HoverCardContent
Radix UI API Reference - HoverCard.Content| 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.
