Skip to Content

Pool Scene

Pastel mesh gradient background: a static wash rising to a cream-peach crest and falling into mauve, with six blurred radial pools and two grain layers. The middle band can add raking light, caustics or a submerged orb.

Installation

pnpm dlx shadcn@latest add @01orbital/pool-scene

Usage

import { PoolScene } from "@/components/scene/pool-scene"

export default function Example() {
  return <PoolScene />
}

API reference

A static pastel wash rising to a cream-peach crest and falling into mauve, with six blurred radial pools and two grain layers. middle can light the crest.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs it for you.

Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

Last updated on