Aurora Background
Web (React)
A stunning, smooth animated aurora borealis background effect using Framer Motion.
A stunning, smooth animated aurora borealis background effect using Framer Motion. Built natively without heavy WebGL libraries.
Beautiful Aurora Background
Powered by Tailwind CSS and Framer Motion. Zero heavy WebGL dependencies, full native performance.
Installation
CLI
npx @modus-ui/cli add aurora-backgroundManual
- Copy the code from the component tab.
- Create a file at
components/ui/aurora-background.tsx. - Paste the code.
Usage
tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | - | The content to render on top of the aurora. |
colors | [string, string, string, string] | [...] | The four colours of the aurora blobs. |
showRadialGradient | boolean | true | Whether to mask the bottom edge of the aurora. |
Comments