Toggle Sidebar B
header.lightDarkMode D

Hover Card

Floating panel that opens on hover with a small delay. Good for previews and inline context that should not require a click.

Default

Hover the trigger to reveal the card.

Profile

Show an avatar, name, and bio in a richer card layout.

Sides

Set side to top, right, bottom, or left on the content.

API Reference

Props, events, and slots for each sub-component.

HoverCard

Props

PropTypeDefaultDescription
openbooleanOpen state. Supports v-model:open.
openDelaynumber700Delay before opening (ms).
closeDelaynumber300Delay before closing (ms).

Events

EventDescription
update:openFires when the card opens or closes. Enables v-model:open.

HoverCardTrigger

Props

PropTypeDefaultDescription
asChildbooleanfalseMerge props onto the child element instead of a wrapper.

HoverCardContent

Props

PropTypeDefaultDescription
side"top" | "right" | "bottom" | "left""bottom"Anchor side.
align"start" | "center" | "end""center"Alignment along the side.

Accessibility

Keyboard shortcuts and ARIA behavior.

Keyboard

ShortcutDescription
TabMoving focus onto the trigger opens the card after openDelay.
EscDismisses the card while it is open.
  • Intended as a sighted-user hover preview; it opens on hover or focus of the trigger.
  • The content is not focus-trapped and the card is non-modal.