ID Card
- from @d2
- by D2 Studio
An event badge on a D2 strap: a portrait, name, role and a short about, with contact links at the foot. The strap is a rope under gravity, so drag the card and it swings; click it and it turns over to a printed back. The faces are painted on a canvas from the card's own palette and repainted when the theme flips, and the links stay real links, with a keyboard plate under the card for screen readers. Give its parent a height.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @d2/id-cardLive preview
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
