Backgrounds

Aurora

Curtains of northern light rippling over a starry sky. They lean toward the pointer and glow brighter under it.

Paste it into ChatGPT, Claude, Cursor or v0.
curtains3
height0.45
speed0.30
intensity1.00

Usage

import { Aurora } from '@vizzele/react/gl';

<section style={{ position: 'relative' }}>
  <Aurora bands={3} height={0.45} />
  <h1>Night shift</h1>
</section>

Props

PropTypeDefaultDescription
bandsnumber3Light curtains (1–5).
heightnumber0.45Where the curtains hang, 0 bottom … 1 top.
speednumber0.3Drift speed.
intensitynumber1Brightness.
colorsstring[]iridescent paletteFour hex colors.

Accessibility

  • The canvas is aria-hidden and never takes pointer events — content on top stays fully interactive.
  • Pauses when off-screen or in a background tab. Renders one still frame with reduced motion.
  • Weak devices get a lower resolution automatically; without WebGL2 a static gradient is shown.