component

Well

Stone well with a dark pool, posts, a little pyramid roof, and a bucket on a rope.

⌖ Explore the library in 3D →

Add it

npx @runek/cli add well

Pulls @react-three/rapier@^2.2.0, @runek/core@^0.13.0.

Use it

import { Well } from './runek/Well'

<Well position={[0, 0, 0]} />

Props

export interface WellProps {
  position?: Vec3
  rotation?: Vec3
  radius?: number
  wallHeight?: number
  /** Stone color; defaults to the world palette's `stone` slot. */
  color?: string
  /** Roof + frame color; defaults to the world palette's `wood` slot. */
  roofColor?: string
}

Registry manifest

registry manifest /r/components/well.json Self-contained JSON: inlined source plus resolved dependencies, exactly what runek add well fetches.

Browse the whole catalog in the gallery →.