LayerwiseLayerwise
  • Features
  • Pricing
  • Templates
  • Docs
DownloadDownload
FeaturesPricingTemplatesDocsAI Website BuilderVibe CodingPersonal Software
DownloadDownload
  1. Glossary
  2. /
  3. Visual styles

Aurora background

Also called aurora effect, aurora gradient, or northern lights background

A background of soft, blurred color ribbons that drift slowly, like the northern lights, used behind hero sections and landing pages.

import { motion, useReducedMotion } from 'motion/react';

const RIBBONS = [
  { color: 'bg-teal-400', position: 'top-[5%] -left-[10%]', duration: 18 },
  { color: 'bg-violet-500', position: 'top-[30%] left-[25%]', duration: 22 },
  { color: 'bg-pink-500', position: 'top-[55%] -left-[5%]', duration: 26 }
];

export function AuroraHero() {
  const reduceMotion = useReducedMotion();

  return (
    <section className='relative isolate grid min-h-[480px] place-items-center overflow-hidden bg-slate-950 px-6 text-center'>
      <div aria-hidden className='absolute inset-0 -z-10'>
        {RIBBONS.map((ribbon) => (
          // Blurred once; only the transform animates, which stays cheap.
          <motion.span
            key={ribbon.color}
            className={`absolute h-1/3 w-[70%] rounded-full opacity-50 blur-[60px] will-change-transform ${ribbon.color} ${ribbon.position}`}
            animate={
              reduceMotion
                ? undefined
                : { x: ['-10%', '15%'], y: ['0%', '10%'], rotate: [-12, 8] }
            }
            transition={{
              duration: ribbon.duration,
              repeat: Infinity,
              repeatType: 'mirror',
              ease: 'easeInOut'
            }}
          />
        ))}
      </div>
      <h1 className='max-w-2xl text-5xl font-semibold tracking-tight text-white'>
        Research that writes itself
      </h1>
    </section>
  );
}
Add an aurora background behind the hero: three wide, rotated ellipses in teal, violet, and pink at 50% opacity with filter: blur(60px), each drifting and rotating on its own 18 to 26-second transform loop. Keep the headline readable on top, mark the layer aria-hidden, and stop the animation when prefers-reduced-motion is set.

Paste into Layerwise or any AI coding tool.

What is Aurora background?

An aurora background layers a few long, rotated shapes in bright colors, blurs them heavily with filter: blur(), and moves them slowly so the colors shift and overlap. On a dark page it glows like the northern lights; on a light page it reads as a soft pastel wash.

It is a popular backdrop for AI products, SaaS landing pages, and launch pages, where it adds atmosphere behind a headline without competing with it.

Blur the shapes once and animate only transform and opacity, ideally with will-change: transform, so the browser can move the already-blurred layers cheaply. Keep the motion slow, with cycles of 10 to 30 seconds, check text contrast where ribbons pass behind it, and stop the drift for people who prefer reduced motion.

Often confused with

Mesh gradient
A mesh gradient blends color smoothly across the whole surface. An aurora uses a few separate blurred ribbons that drift over a plain background.

Related terms

All terms

Mesh gradient

A smooth, multicolor gradient where several colors blend outward from different points, like paint mixing, often used for hero backgrounds.

Animated gradient

A color gradient that slowly shifts across a surface on a loop, often used behind a hero or call to action to add warmth and motion.

Hero section

The large first section at the top of a landing page, with a headline, a short subhead, a call to action, and a visual.

Glow effect

A soft halo of colored light around a button, card, or text, made with colored shadows or a blurred layer behind the element.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.

DownloadDownloadRead the docs
LayerwiseLayerwise

Build full-stack web apps in minutes with AI.

Product

  • Features
  • Pricing
  • Download
  • Templates

Solutions

  • AI Website Builder
  • Vibe Coding
  • Personal Software

Resources

  • Documentation
  • Changelog
  • Blog
  • Vibe Coding Glossary
  • llms.txt
  • llms-full.txt

Company

  • About
  • Contact

Legal

  • Privacy
  • Analytics Privacy
  • Terms
  • Security
  • Abuse

© 2026 Layerwise. All rights reserved.

Entrances & exits

  • Fade in
  • Slide in
  • Scale in
  • Pop in
  • Blur in
  • Reveal animation
  • Enter and exit animations

Timing & sequencing

  • Duration
  • Delay
  • Keyframes
  • Tweening
  • Stagger
  • Orchestration
  • Fill mode
  • Stepped animation
  • Looping animation
  • Yoyo animation

Easing

  • Easing
  • Linear easing
  • Ease-in
  • Ease-out
  • Ease-in-out
  • Cubic-bezier
  • Asymmetric easing
  • Overshoot easing

Springs & physics

  • Spring animation
  • Stiffness
  • Damping
  • Mass
  • Bounce
  • Velocity
  • Momentum
  • Interruptible animation
  • Rubber-banding

Transforms

  • Translate
  • Scale
  • Rotate
  • Skew
  • 3D flip
  • Perspective
  • Transform origin
  • Origin-aware animation

State transitions

  • Crossfade
  • Morph
  • Shared element transition
  • Layout animation
  • Height auto animation
  • Direction-aware transition
  • Continuity transition
  • Page transition
  • View Transitions API

Scroll effects

  • Scroll reveal
  • Scroll-driven animation
  • Parallax scrolling
  • Scrollytelling
  • Scroll pinning
  • Horizontal scroll section
  • Scroll progress bar
  • Scroll snap
  • Smooth scrolling

Interaction feedback

  • Hover effect
  • Press feedback
  • Ripple effect
  • Shake animation
  • Hold to confirm
  • Drag gesture
  • Drag to reorder
  • Swipe to dismiss
  • Pull to refresh
  • Magnetic button
  • Custom cursor
  • 3D tilt card
  • Spotlight card

Text effects

  • Typewriter effect
  • Text scramble
  • Split text animation
  • Text morph
  • Rotating words
  • Gradient text
  • Shimmer text
  • Number ticker
  • Tabular numbers
  • Underline animation

Loops & ambient motion

  • Marquee
  • Pulse animation
  • Float animation
  • Orbit animation
  • Idle animation
  • Particle background
  • Border beam
  • Confetti
  • Animated gradient

Visual effects

  • Blur
  • Clip-path
  • Mask
  • Before/after slider
  • SVG line drawing
  • Lottie animation

Motion principles

  • Purposeful animation
  • Anticipation
  • Follow-through
  • Squash and stretch
  • Perceived performance
  • Frequency of use
  • Spatial consistency
  • Reduced motion

Animation performance

  • Frame rate (FPS)
  • Jank
  • GPU acceleration
  • will-change
  • Layout thrashing

Layout

  • Hero section
  • Above the fold
  • Sticky header
  • Sidebar
  • Bento grid
  • Card
  • Flexbox
  • CSS Grid
  • Padding vs margin
  • Responsive design
  • Container
  • Masonry layout
  • Split screen
  • Z-index
  • Overflow

Components

  • Button variants
  • Modal
  • Drawer
  • Popover
  • Tooltip
  • Dropdown menu
  • Context menu
  • Toast notification
  • Tabs
  • Segmented control
  • Accordion
  • Carousel
  • Command palette
  • Combobox
  • Toggle switch
  • Checkbox
  • Radio button
  • Date picker
  • Breadcrumb
  • Pagination
  • Infinite scroll
  • Badge
  • Avatar stack
  • Empty state
  • Skeleton screen
  • Spinner
  • Progress bar
  • Data table
  • Stepper
  • Floating label
  • Inline validation
  • Alert banner
  • Tag input

States & patterns

  • Interaction states
  • Focus ring
  • Loading state
  • Optimistic UI
  • Debounce
  • Lazy loading
  • Dark mode
  • Micro-interaction
  • Affordance
  • Undo
  • Drag and drop
  • Keyboard shortcut

Visual styles

  • Glassmorphism
  • Liquid glass
  • Neumorphism
  • Claymorphism
  • Neo-brutalism
  • Skeuomorphism
  • Flat design
  • Mesh gradient
  • Aurora background
  • Grain texture
  • Glow effect
  • Drop shadow
  • Border radius
  • Grid background
  • Typographic hierarchy
  • Accent color
  • Color contrast

Vibe coding & AI

  • Vibe coding
  • Prompt
  • Context window
  • Token
  • AI agent
  • Tool call
  • Hallucination
  • Diff
  • Live preview
  • Checkpoint
  • Git commit
  • Deploy
  • Frontend and backend
  • API
  • Database
  • Rules file
  • MCP
  • Plan mode
  • Visual edit
Now in beta

Build your next app with AI