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 https://ui.aceternity.com/registry/aurora-background.json

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

With the best in class components and templates, stand out from the crowd and get more attention to your website. Trusted by founders and entrepreneurs from all over the world.

Go Pro
Manu was such a pleasure to work with. Talented, communicative and fast. Highly recommend!

Jonathan Barshop

Founder at Barshop Studios

A product by Aceternity
Building in public at @mannupaaji