Cursor Hover Card
Use Cursor Hover Card to reveal rich supporting information above the pointer while it moves within a trigger. The card enters from the cursor, exits with a quieter return, and tilts in response to pointer speed and direction. Keyboard users receive the same content in a stable trigger-anchored position.
Preview
Reduce motion:Off
Tune:Off
Inspect
Installation
Usage
Props
| Property | Type | Default | Description |
|---|---|---|---|
children | ReactNode | required | Trigger and content parts associated with the card. |
defaultOpen | boolean | false | Whether the card is open when uncontrolled. |
open | boolean | undefined | Controlled open state. |
onOpenChange | PreviewCard.Root.Props["onOpenChange"] | undefined | Called whenever the card requests an open-state change. |
reducedMotion | CursorHoverCardReducedMotion | "user" | Controls whether motion follows, forces, or ignores the user's reduced-motion preference. |
Accessibility
Preview Card semantics, focus behavior, dismissal, and pointer grace areas come from Base UI. Pointer tracking is ignored for touch input. With reduced motion enabled, the card keeps the same cursor-following anchor updates but removes directional rotation, position smoothing, and open or close animation.
Was this page helpful?
Your response helps us improve component docs.