@caustics/aurora · v1.0.0
svelte · react · vanilla
60fps · 7KB gzipped
$39 →
component · 009
Aurora
The northern lights aesthetic, rendered in real-time WebGL.
Preset
Speed0.6
Intensity0.5
Or get everything for $499 →
Quick Start

That's it. Your site now has aurora.

npm install @caustics/aurora

<script>
  import { Aurora } from '@caustics/aurora';
</script>

<Aurora preset="natural" />
Configuration API

Sensible defaults. Documented types.

Prop Type Default Description
preset string "natural" Named preset. Overrides individual props when set.
speed number 1.0 Animation speed multiplier. 0 = static.
intensity number 0.5 Effect intensity. Range: 0–1.
colors string[] undefined Override palette. Accepts hex, hsl, or CSS custom properties.
reducedMotion 'pause' | 'static' 'static' Behavior when prefers-reduced-motion is active.
class string undefined Additional CSS classes applied to the root element.
What's Included

A zip. Everything else lives at caustics.dev.

caustics-aurora/
├── svelte/     Aurora.svelte · index.ts · types.ts
├── react/      Aurora.tsx · index.ts · types.ts
├── vanilla/    aurora.ts · compiled .js
├── docs/       README.md · API.md · CHANGELOG.md
├── LICENSE.md  MIT, commercial use included
└── package.json

Aurora renders northern lights backgrounds using a WebGL fragment shader with layered sine waves and noise functions. The result is the organic, undulating color flow of the aurora borealis — configurable colors, speed, and intensity.

A single fullscreen quad with no geometry complexity. Performance is excellent even on integrated GPUs.

Ready to ship?

Get Everything — $499

MIT license · commercial use included · lifetime updates