← All components
Atmospheres / background

Aurora

Soft curtains of color, shaped by a three-stop gradient and flowing noise.

Open in studio ↗
PLAYGROUND
Live preview
Preparing preview…

Take it with you.

SOURCE ACCESS

Preview freely. Unlock the files.

Enter the shared password to copy the complete source, download every file, and install components in your app.

Access lasts 24 hours. Your preview settings stay with you.

Component notes

  • Give the component a container with an explicit height. It fills that container.
  • The included Demo.tsx recreates the complete preview; the main component contains only the background.
  • Reduced motion renders a still frame. Hidden/offscreen instances stop requesting frames; pause and replay are supported.
  • A static CSS atmosphere remains when graphics acceleration is unavailable. Canvas resolution is capped at 2048 pixels per dimension.
React 19WebGL2OGL 1.0.11

React Bits · MIT with Commons Clause. Used with explicit project permission; see bundled notice.

Props

PropTypeDefaultDescription
color1stringundefinedFirst color; overrides corresponding colorStops item.
color2stringundefinedCenter color; overrides corresponding colorStops item.
color3stringundefinedLast color; overrides corresponding colorStops item.
amplitudenumber1Wave amplitude
blendnumber0.5Edge blend
speednumber1Motion speed
colorStopsstring[]['#5227FF','#7cff67','#5227FF']Three gradient stops. Individual color1/2/3 overrides take precedence.
timenumberundefinedExternally controlled time in original time units; output time = time × speed × 0.1. Disables continuous frames.
pausedbooleanfalseFreeze the current frame.
replayTokennumber0Change this value to restart the animation.
classNamestring''Additional outer classes.