Ambient Aurora Canvas
ProPure-CSS atmospheric lighting with heavy blur and a noise overlay that kills banding.
show offambientauroracanvasframer motion
Installation
Run the following command
~/your-project
pnpm dlx wensity@latest add ambient-aurora-canvas
Usage
Import AmbientAuroraCanvas from @/components/wensity/ambient-aurora-canvas and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.
app/example.tsx
import { AmbientAuroraCanvas } from "@/components/wensity/ambient-aurora-canvas";export default function Example() {return (<AmbientAuroraCanvas minHeight={420}><div className="grid h-full place-items-center p-10 text-center text-white"><div><h1 className="font-heading text-5xl font-bold">Light, made matte.</h1><p className="mt-3 text-white/70">Premium ambient lighting at near-zero render cost.</p></div></div></AmbientAuroraCanvas>);}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
blobs | AuroraBlob[] | - | Custom blob set. Defaults to a chili-led palette. |
blur | number | 110 | Blur radius in pixels. |
grain | boolean | true | Show the matte grain overlay. |
radius | number | 24 | Border radius in pixels. |
minHeight | number | - | Optional fixed height. Otherwise fills the parent. |
children | React.ReactNode | - | Optional content rendered above the aurora. |
