A coin with a real rim built from stacked discs. It tilts with your pointer and flips on click.
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 |
|---|---|---|---|
| front | ReactNode | Content on the front face. | |
| back | ReactNode | Content on the back face. | |
| size | number | 170 | Diameter in px. |
| thickness | number | 16 | Rim thickness in px. |
| className | string | Extra classes added to the outer element. |