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

PropertyTypeDefaultDescription
childrenReactNoderequiredTrigger and content parts associated with the card.
defaultOpenbooleanfalseWhether the card is open when uncontrolled.
openbooleanundefinedControlled open state.
onOpenChangePreviewCard.Root.Props["onOpenChange"]undefinedCalled whenever the card requests an open-state change.
reducedMotionCursorHoverCardReducedMotion"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.