A badge with weight
A spring-driven lanyard sways on its own, follows your drag, and settles with a natural swing.
Component 045Portfolio
A conference-style ID badge swings on its lanyard beside your introduction; drag it to play and flip it to reveal your skills.
Quick start
Save id-badge-hero.tsx in your components folder, then import it below. Requires React and Tailwind CSS.
import IdBadgeHero from "@/components/ui/id-badge-hero";
export default function HomePage() {
return <IdBadgeHero />;
}Behind the interaction
A spring-driven lanyard sways on its own, follows your drag, and settles with a natural swing.
The front shows your photo, name, and role; flip it to reveal skills and availability.
Typed props for profile, skills, and actions, plus keyboard flipping and reduced-motion support.
Keep exploring
Your portrait sits at the center of two slow orbits while skills and highlights circle around it, pausing when visitors look closer.
A code editor types out a developer profile object while a live card assembles itself beside it, line by line.
Hello, I’m
Frontend Developer
3+ years building React & Next.js interfaces
I build thoughtful, fast, and accessible web interfaces — and sweat the small details.
Hasan
Frontend Developer
React · Next.js · TypeScript
Flips between the profile and skills sides. Arrow keys swing the badge.