Skip to Content

Glowworm Scene

Glowworm cave background: an SVG cave ceiling of seeded cyan glowworm points with hanging silk threads, rock silhouettes and a smeared reflection in the pool below, under grain. Optional slow breathing and density.

Installation

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

Usage

import { GlowwormScene } from "@/components/scene/glowworm-scene"

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

API reference

A cave ceiling of cyan glowworm points with hanging silk threads, rock silhouettes and a smeared reflection in the pool below, under grain.

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:

Used in blocks

One block is built with Glowworm Scene.

Last updated on