Skip to Content

Fish School Light Scene

Underwater aquarium background: shallow sunlit water as a pale aqua gradient lit from off-frame above, darkening toward the floor, with optional grain. Installs the Fish School motion component.

Installation

pnpm dlx shadcn@latest add @01orbital/fish-school-light-scene

Usage

import { FishSchoolLightScene } from "@/components/scene/fish-school-light-scene"

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

API reference

Shallow sunlit water, a pale aqua gradient lit from above that darkens toward the floor, with a school of fish crossing it. Other props go to FishSchool.

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