Overlays
Hover Card
A floating card of preview content shown while the pointer is over its trigger.
Group: Overlays. Exports: HoverCard. shadcn/ui equivalent: Hover Card (matches).
Usage
import { HoverCard } from "./halaska-kit";
HoverCard props
triggerReactNode: The element that opens it.childrenReactNode: Content.
Accessibility
- Opens on pointer hover and on keyboard focus of the trigger. Escape hides it.
- The card is hidden from assistive technology while closed, and stays open while focus is inside it.
- It has no role and is not linked to the trigger, so keep anything essential out of it.
Halaska UI · Components · Patterns · Screens · Install