An ID badge on a lanyard. Grab it and swing it. When you let go it settles back on a loose spring.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | Content shown on the badge face. | |
| width | number | 190 | Badge width in px. |
| height | number | 270 | Badge height in px. |
| strap | number | 150 | Lanyard length in px. |
| className | string | Extra classes added to the outer element. |