StealThis .dev

Aurora Text

Text with aurora borealis colors (green, purple, blue) flowing through it with animated gradient layers and optional blur glow.

在 Lab 中打开
css javascript vue svelte
目标: TS JS HTML React Vue Svelte

代码

Aurora Text

Text that shimmers with northern-lights colors — green, purple, and blue gradients that flow and blend organically through the text.

How it works

  1. Multiple animated gradients are layered using background-clip: text
  2. Each gradient layer animates at a different speed and direction for organic movement
  3. A blurred pseudo-element behind the text creates a soft ambient glow
  4. Colors are inspired by the aurora borealis: emerald green, violet purple, and cyan blue

Customization

  • Override aurora colors via --aurora-1, --aurora-2, --aurora-3 CSS custom properties
  • Control glow intensity with --aurora-glow (blur radius of the backdrop)
  • Adjust animation speed with --aurora-speed

When to use it

  • Dark-themed hero sections
  • Feature headings that need an ethereal, premium feel
  • Creative portfolio titles