Aurora Background

Motion

A React aurora background that drifts soft, blurred bands of accent colour behind a hero panel, with intensity, speed, blur and colour props, pausing off screen.

src/registry/premium/aurora-background.tsx/r/aurora-background.json

Installation#

bash
npx shadcn@latest add @minidev/aurora-background

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/aurora-background.json

Usage#

tsx
import { AuroraBackground } from "@/components/ui/aurora-background"

export function Example() {
  return <AuroraBackground />
}

API reference#

AuroraBackground props
PropTypeDefault
intensitynumber1
speednumber1
blurnumber28
colorsstring[]["var(--accent)", "var(--accent-2)", ...
classNamestring-
childrenReact.ReactNode-

Dependencies#

npm

lucide-reactmotion

Built from

All Animated React components

Learn more