Marine Snow Scene
Deep-sea underwater background: blue water lit by a bright cone overhead, with particles of marine snow drifting slowly down like floating dust. Particle count is adjustable; reduced motion scatters them at rest.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/marine-snow-scenenpx shadcn@latest add @01orbital/marine-snow-sceneyarn dlx shadcn@latest add @01orbital/marine-snow-scenebunx --bun shadcn@latest add @01orbital/marine-snow-sceneUsage
import { MarineSnowScene } from "@/components/scene/marine-snow-scene"
// The copy: change text here, not in the markup.
const COPY = {
title: "Below the surface",
body: "Quiet tools for work that takes a long breath.",
} as const
export default function MarineSnowSceneDemo() {
return (
<section className="dark relative isolate flex min-h-[28rem] w-full flex-1 flex-col items-center justify-center overflow-hidden bg-scene text-center text-scene-foreground">
<MarineSnowScene className="absolute inset-0 h-auto" />
<div className="relative max-w-lg p-6 sm:p-10">
<h2 className="font-display text-3xl leading-tight sm:text-4xl">
{COPY.title}
</h2>
<p className="mt-4 text-base leading-7 text-scene-foreground/80">
{COPY.body}
</p>
</div>
</section>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/marine-snow-scene-demonpx shadcn@latest add @01orbital/marine-snow-scene-demoyarn dlx shadcn@latest add @01orbital/marine-snow-scene-demobunx --bun shadcn@latest add @01orbital/marine-snow-scene-demoAPI reference
Deep blue water lit by a bright cone overhead, with marine snow drifting slowly down. Reduced motion scatters the particles 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