component
Chair
Chair with seat, back, and legs.
Add it
npx @runek/cli add chair
Pulls @react-three/rapier@^2.2.0, @runek/core@^0.13.0.
Use it
import { Chair } from './runek/Chair'
<Chair position={[0, 0, 0]} />
Props
export interface ChairProps {
position?: Vec3
rotation?: Vec3
width?: number
depth?: number
seatHeight?: number
backHeight?: number
/** Defaults to the world palette's `wood` slot. */
color?: string
}
Registry manifest
registry manifest /r/components/chair.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add chair fetches.
Browse the whole catalog in the gallery →.