Skip to content

HoverCard

A sophisticated hovering overlay block providing auxiliary information.

Basic Usage

HoverCards behave similarly to Popovers but are triggered strictly by mouseenter events rather than clicks, often used to display rich previews or user profiles.

loading

API

Props

PropertyTypeDefaultDescription
placement'top' | 'bottom' | 'left' | 'right''bottom'Alignment position of the hover card.
widthstring | number''Fixed width of the card.
openDelaynumber200Delay in ms before the card appears on hover.
closeDelaynumber300Delay in ms before the card vanishes on unhover.

Slots

NameDescription
defaultThe trigger element the user points their mouse at.
contentThe rich data payload rendered inside the thick border card box.

MIT License