Dhileep Kumar GM

AuroraBackground

Heroes 422

About

A multi-layered, animated aurora sky effect built with React, Tailwind CSS, and Framer Motion. It features pulsing radial gradients, drifting blurred color blobs, and twinkling stars to simulate a dynamic polar light. Perfect for hero sections, ambient UI backdrops, or visually rich intros.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds AuroraBackground to your project and fits it to your theme.

Code

How AuroraBackground is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client"
import React from "react"
import AuroraBackground, { AuroraBackgroundProps } from "@/components/ui/aurora-background"

export const AuroraBackgroundDemo = () => {
  const demoProps: AuroraBackgroundProps = {
    gradientColors: [
      "var(--aurora-color1, rgba(99,102,241,0.2))",
      "var(--aurora-color2, rgba(139,92,246,0.2))",
    ],
    pulseDuration: 8,
    starCount: 80,
  }

  return (
    <AuroraBackground {...demoProps} className="px-4 py-8">
      <h1 className="text-5xl md:text-7xl font-bold bg-clip-text text-transparent bg-gradient-to-br from-gray-50 to-gray-400 tracking-tight text-center">
        Aurora UI
      </h1>
      <p className="mt-4 text-lg text-gray-300 max-w-xl text-center">
        A shimmering canvas of light to power your next interface.
      </p>
    </AuroraBackground>
  )
}

export default AuroraBackgroundDemo

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    976
  • Mountain Scene

    Mountain Scene

    882
  • HolographicCard

    HolographicCard

    837
  • 3D Animation

    3D Animation

    816
  • liquid  Shader

    liquid Shader

    574

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442