Introducing Aceternity UI Pro - 70+ premium component packs and templates to build amazing websites.
Logo

Aurora Background

A subtle Aurora or Southern Lights background for your website.

Open in
Background lights are cool you know.
And this, is chemical burn.

Installation

Run the following command

npx shadcn@latest add @aceternity/aurora-background

Add animations for Tailwind CSS

globals.css
@import "tailwindcss";
 
@theme inline {
  --animate-aurora: aurora 60s linear infinite;
  @keyframes aurora {
    from {
      background-position:
        50% 50%,
        50% 50%;
    }
    to {
      background-position:
        350% 50%,
        350% 50%;
    }
  }
}

Props

PropTypeDefaultDescription
childrenReactNodeN/AThe content to be displayed within the AuroraBackground component.
classNamestringN/AAdditional CSS classes to apply to the component for styling.
showRadialGradientbooleantrueDetermines whether a radial gradient effect is applied to the background.
...propsobjectN/AAny other props that should be passed to the div element of the component.

This component is ideated and initialized by Akshith Pottigari

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

70+ templates and component blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode
A product by Aceternity
Building in public at @mannupaaji