Disco ball

A sphere of mirror tiles that turns and flashes. Every tile is a real piece of the sphere, and back-facing ones are not painted.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

DiscoBall3D props

PropTypeDefaultDescription
sizenumber220Diameter in px.
rowsnumber11Rows of tiles from pole to pole. More rows means smaller tiles.
secondsnumber16Seconds per turn.
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