component
Stool
A round bar stool: a disc seat on three splayed legs; a thin cylinder collider.
Add it
npx @runek/cli add stool
Pulls @react-three/rapier@^2.2.0, @runek/core@^0.13.0.
Use it
import { Stool } from './runek/Stool'
<Stool position={[0, 0, 0]} />
Props
export interface StoolProps extends WorldComponentProps {
/** Seat height above the ground, in units. */
height?: number
/** Seat radius, in units. */
radius?: number
/** Color; defaults to the palette's `wood`. */
color?: string
}
Registry manifest
registry manifest /r/components/stool.json Self-contained JSON: inlined source plus resolved dependencies, exactly whatrunek add stool fetches.
Browse the whole catalog in the gallery →.