component

Fountain

Two-tier stone fountain with gently rippling water (a per-frame bob, no textures).

⌖ Explore the library in 3D →

Add it

npx @runek/cli add fountain

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

Use it

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

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

Props

export interface FountainProps {
  position?: Vec3
  rotation?: Vec3
  radius?: number
  /** Stone color; defaults to the world palette's `stone` slot. */
  color?: string
  /** Water color; defaults to the world palette's `waterShallow` slot. */
  waterColor?: string
}

Registry manifest

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

Browse the whole catalog in the gallery →.