Coin

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.

Coin3D props

PropTypeDefaultDescription
frontReactNodeContent on the front face.
backReactNodeContent on the back face.
sizenumber170Diameter in px.
thicknessnumber16Rim thickness in px.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks