Skip to content
Eskais UI

Overlays

Hover Card

UI SDK Hover Card on the popover surface: a link that previews where it goes on hover or keyboard focus.

Example

Reviewed by reviewer

Installation

npx shadcn@latest add @eskais/hover-card
Brings alongpopover

Usage

Import
import {  HoverCard,  HoverCardArrow,  HoverCardContent,  HoverCardTrigger,  createHoverCardController,} from "@/components/ui/hover-card"

API reference

Other exports

HoverCardcreateHoverCardController

Accessibility

  • A link that previews where it goes: the link still works without the card.

Agent actions

Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.