Skip to Content

Fish School Scene

Underwater ocean animation: a seeded school of small colored fish crossing a dark current at several depths, with rising bubbles. Motion runs on the compositor; reduced motion holds each fish at a rest position.

Installation

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

Usage

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

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

API reference

A seeded school of small colored fish crossing a dark current at several depths, with rising bubbles. Reduced motion holds each fish at rest.

Prop

Type

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

Dependencies

npm: cn. The CLI installs it for you.

Last updated on