Back to components
ComponentCardFree

Swinging ID Badge React component

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.

About the Swinging ID Badge component

Swinging ID Badge is a conference-style badge hanging from a lanyard that begs to be played with. Grab it and throw it: it swings back and forth on real pendulum physics, the strap stretches a little and settles, and the card turns on its clip as it moves, with the foil strip catching the light.

Click it (or press Enter) to turn it over: the back has a QR-style code, the access zones and a 'valid until' line. Arrow keys give it a push for keyboard users.

When to use it

Use it for event and conference sites, 'meet the speaker' or team pages, hackathon tickets, onboarding screens that welcome a new member, or a playful personal landing page.

It's a centrepiece: one per screen works best, with enough space above and around it to swing.

Installation

Add the Swinging ID Badge component to your project with the shadcn CLI. It lands in components/swinging-id-badge.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/swinging-id-badge

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Card components

Frosted App Icons
Free
Bouncing Card Fan
Free
Document Folder Stack
Free
Distorted Photo Card
Free
Color Reveal Grid
Free
Card Shuffle Stack
Free