Skip to Content

Cenote Bubbles Scene

Underwater cave animation: black cenote water cut by one vertical light beam, with silver bubbles rising in breath-timed bursts only inside the beam. Reduced motion holds the bubbles still.

Installation

pnpm dlx shadcn@latest add @01orbital/cenote-bubbles-scene

Usage

import { CenoteBubblesScene } from "@/components/scene/cenote-bubbles-scene"

export default function CenoteBubblesSceneDemo() {
  return (
    <section className="dark relative isolate flex min-h-[32rem] w-full flex-1 flex-col overflow-hidden bg-scene text-scene-foreground">
      <CenoteBubblesScene />
    </section>
  )
}

This example installs with everything it uses:

pnpm dlx shadcn@latest add @01orbital/cenote-bubbles-scene-demo

Examples

Rainbowcenote-bubbles-scene-rainbow

Cenote Bubbles Scene Rainbow: an example of cenote-bubbles-scene.

pnpm dlx shadcn@latest add @01orbital/cenote-bubbles-scene-rainbow

API reference

Black cenote water cut by one vertical light beam, with bubbles rising in breath-timed bursts only inside the beam. Reduced motion holds the bubbles still.

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