Skip to content
GitHub

Hover Card

A card that appears when a user hovers over an element.

Installation

Usage

Triggers Delays

The openDelay and closeDelay props control the delay before the hover card opens and closes respectively.

Default values are 100ms for closeDelay and 10ms for openDelay.

Positioning

Control the position of the hover card relative to the trigger using the positioning prop.

Controlled

Control the open state programmatically using the open and onOpenChange props.

Disabled

Use the disabled prop to prevent the hover card from opening on hover.

API Reference

HoverCard

Root component. Manages hover state and content visibility.

HoverCardTrigger

Shows the hover card on hover or focus.

HoverCardContent

Content shown in a popover when hover card is open.

HoverCardArrow

Optional arrow pointing toward the trigger.


For a complete list of props, see the Ark UI documentation.