A rotating prism that works as tabs. Three to eight faces, buttons, dots and arrow keys. It always turns the same way.
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 |
|---|---|---|---|
| faces | ReactNode[] | Content of each face of the prism. | |
| width | number | 260 | Face width in px. |
| height | number | 170 | Face height in px. |
| labels | string[] | Accessible name for each face, in the same order as faces. | |
| className | string | Extra classes added to the outer element. |