Stand inside a room and look around. Drag to turn your head, and it drifts gently when you let go. Pass your own six faces to build your own.
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[] | Six faces in this order: front, right, back, left, ceiling, floor. | |
| width | number | 460 | Viewport width in px. |
| height | number | 300 | Viewport height in px. |
| className | string | Extra classes added to the outer element. |