Room

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.

Room3D props

PropTypeDefaultDescription
facesReactNode[]Six faces in this order: front, right, back, left, ceiling, floor.
widthnumber460Viewport width in px.
heightnumber300Viewport height in px.
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