Kinetic UI
Back to Introduction
Background Effects

Aurora Background

A stunning, animated aurora gradient background that creates a subtle, shifting mood.

Quick Actions
CLI Installation
npx kinetic-ui-cli@latest add aurora-background

The AuroraBackground uses an intricate combination of CSS gradients, SVG noise filters, and a repeating linear gradient animation to create a beautiful, organic aurora effect. It is completely driven by CSS and requires zero JavaScript to animate, ensuring maximum performance.

Live Preview

Aurora Background

Pure CSS Aurora

Experience incredibly smooth, 60fps organic animations without a single line of JavaScript calculation.

Installation

npx kinetic-ui-cli@latest add aurora-background

Props

Usage Guide

1. Import the Component

Import the component into your React or Next.js page:

import { AuroraBackground } from "@/components/creative/aurora-background";

2. Implementation Example

Render the component and customize its behavior by passing props:

import { AuroraBackground } from "@/components/creative/aurora-background";

export default function Example() {
  return (
    <div className="w-full flex items-center justify-center p-8">
      <AuroraBackground
        showRadialGradient{true}
        colors="example"
      >
        <div>Content goes here</div>
      </AuroraBackground>
    </div>
  );
}
Performance Notes
  • Uses CSS hardware acceleration via GPU transform-binds.
  • Damped interpolation minimizes paint-redraw flashes.
  • Tree-shakable import: only compiles elements requested.
Accessibility Notes
  • Full keyboard focus-ring navigation support (`Tab`/`Shift+Tab`).
  • ARIA roles mapped correctly for assistive screen readers.
  • Respects `prefers-reduced-motion` system toggles.