Swinging ID Badge
An event ID badge hanging from a printed lanyard that you can grab and fling: it swings back on real pendulum physics, the strap stretches and settles, the card turns on its clip and the foil strip shimmers as it moves; click to turn it over to a QR code and access zones.
componentregistry-item.json
Usage docs and preview are being generated by the coding agent. Registry metadata is shown meanwhile.
building preview…
The live preview has not been built yet.
See how it was built Installation
pnpm dlx shadcn@latest add @reactframe/swinging-id-badge
Requires @reactframe in the registries of your components.json (shadcn adds official directory namespaces automatically).
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
prompt.md
Use the "Swinging ID Badge" component (reactframe/swinging-id-badge) from its shadcn registry.1. Install it with: npx shadcn@latest add @reactframe/swinging-id-badge2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.Files & dependencies
- registry/new-york/swinging-id-badge/swinging-id-badge.tsx
dependenciesclsxtailwind-merge
Looks similar, elsewhere
There is no screenshot of this item to compare yet.