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.
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 170 | Outer cube edge in px. |
| hue | number | 190 | Base hue, 0 to 360. |
| seconds | number | 16 | Seconds for one full turn. |
| className | string | Extra classes added to the outer element. |