Tesseract

A cube inside a cube, joined corner to corner: the classic picture of a four-dimensional hypercube. It tumbles on two axes and pauses when you hover.

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

Tesseract3D props

PropTypeDefaultDescription
sizenumber170Outer cube edge in px.
huenumber190Base hue, 0 to 360.
secondsnumber16Seconds for one full 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