Hover Card Examples
20 rich previews that open on hover: profile cards, link, document and product previews, info cards, and stat breakdowns. Each on React, Vue, Svelte and Solid, with Base UI, React Aria, Ark UI or Radix UI on React.
Every hover card example
20 examples.
- Document PreviewPreviewProject Proposal.pdf opens a card with a file icon, 2.4 MB, PDF Document, a short summary, and the last modified date.

- Event PreviewPreviewTeam Planning Session opens a card with an Upcoming badge, a short description, the date, a 90 minute slot, and 12 attendees.

- Financial StatsStatsA Monthly Revenue tile for $45.2k opens income, expenses, net profit, and the change versus last month.

- Growth StatsStatsA chip showing $12,543 and a 12.5% rise opens the current amount, the previous amount, and the change.

- Image PreviewPreviewThe chip hero-banner.jpg opens a wide thumbnail of the image plus 1920 by 1080, 1.2 MB, and JPEG.

- Info with Icon and BadgeInfoA Verified badge with a shield opens a card titled Verified Account and a sentence on what that means.

- Info with TitleInfoAn info icon beside API Rate Limit opens a card titled Rate Limiting, with the Free, Pro, and Enterprise limits.

- Link PreviewPreviewInside a sentence, the words this article open a card with the article title, a summary, and example.com.

- Performance StatsStatsA 98.5% Uptime badge opens System Performance, a Healthy label, an uptime bar, 124ms, and a 0.02% error rate.

- Product PreviewPreviewWireless Headphones Pro opens a card with $299, a struck-through $349, a description, a 4.8 rating, and In Stock.

- Profile with BadgeProfileHayden Bleasel, with a small avatar, opens a profile card that adds a Pro badge, a role, and Joined March 2020.

- Profile with Follow ButtonProfileThe handle @haydenbleasel opens a profile with 2.5k followers, 180 following, and a Follow button across the card.

Or describe it. With Pro, your AI agent installs the hover card example you describe, on your framework and UI library.
Get ProGalleries
More component examples
8 related galleries, free: open one for its live examples and their code.
Pricing
Hover Card examples MCP, with Pro
Your AI agent installs any of the 1364 examples, and every component, block and icon, with every Pro plan.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
A hover card is a rich preview that opens when the pointer rests on a link or a control, or when it gets keyboard focus: a profile behind a username, an article behind a link, the numbers behind a stat. It's shadcn.io's Hover Card component, built on Base UI, React Aria, Ark UI and Radix UI for React, and on Ark UI for Vue, Svelte and Solid, and styled with Tailwind CSS. Each example is one small file.
Yes. Every hover card example is free to use in personal and commercial projects, with no attribution required. Seeing the code and installing an example takes a free shadcn.io account.
A Tooltip is one short line of text on hover or focus. A hover card holds richer content, such as an avatar, a title and a few lines, on hover or focus, and people can move into it and select its text. A Popover opens on a click or tap and can hold controls people work with.
When the content is essential, such as a price or a warning: people who don't hover miss it. And on touch screens, which have no hover. Keep the hover card's content reachable another way, such as on the linked page, or use a popover.
Start from the profile examples: a username link opens an avatar, the name, a role and, depending on the example, a badge, counts, a location or a Follow button. In an app, load the profile when the card opens and show a skeleton until it arrives.
Start from the link preview example. Fetch the page's title, description and image, for example from its Open Graph tags, on your server and cache the result, so the card renders immediately when it opens.
Every target takes an open delay and a close delay in milliseconds; the examples open after 10 and close after 100. A longer open delay keeps cards from opening as the pointer passes over, and a longer close delay leaves more time to move into the card. The names differ by library: `openDelay` on Ark UI and Radix UI, `delay` on Base UI and React Aria.
Sign in with a free account, then copy the code or run the install command on the example's page. It adds the example and the components it uses, Hover Card and, where the example needs them, Avatar, Badge, Button or Separator, to your project.
Listen to the open change on the hover card and fetch when it opens. Cache by ID with your data fetching library so moving back and forth between triggers doesn't fetch again.
Compose the element with `HoverCardTrigger`, the way each library composes elements: `asChild` on Ark UI and Radix UI, `render` on Base UI, and on React Aria a `Link` or `Button` inside `HoverCardTrigger`. The examples show both kinds on every target.
The Hover Card component, Tailwind CSS and Lucide icons, plus Avatar, Badge, Button or Separator in the examples that show them. There is no state library: the card opens and closes by itself.
The cards open on keyboard focus as well as hover and close with Escape, and icon-only triggers carry an `aria-label`. The card is supplementary: keep its content available without it, since screen reader and touch users may never open it.
The hover card itself runs on the client, but the examples hold no state of their own: render them from a Server Component and pass the card's content in as props.
4.9 out of 5 from 150+ developers
Every hover card example. One prompt away.
Every hover card example is free with an account. With Pro, your AI agent installs them from a prompt.
Get Pro
























