Hextech UI

Preview Card

Live example

Preview Card

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/preview-card.json

API reference

These are the main Preview Card options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
open / defaultOpenbooleanfalse
hrefstring (trigger)—

Supplemental content

A preview card provides non-essential context for its link trigger. Keep the actual destination clear. Use a dialog or popover when users must interact with detailed content.