Documentation
Components
Hover Card

Hover Card

For sighted users to preview content available behind a link.

Installation

npx shadcn@latest add https://exawizards.com/exabase/design/registry/hover-card.json

Usage

import {
  HoverCard,
  HoverCardContent,
  HoverCardTrigger,
} from "@/components/ui/hover-card"
<HoverCard>
  <HoverCardTrigger>Hover</HoverCardTrigger>
  <HoverCardContent>
    The React Framework – created and maintained by @vercel.
  </HoverCardContent>
</HoverCard>

API

See the Hover Card – Radix Primitives (opens in a new tab) documentation.