Animations
AuroraBackground
Animated aurora gradient background with flowing color blobs.
Quick Preview
Aurora Background
Animated color blobs create a living gradient
Installation
npm install framer-motion
// Copy component fromsrc/components/animations/AuroraBackground.tsx
Usage
import AuroraBackground from '@/components/animations/AuroraBackground'<AuroraBackground className="h-screen flex items-center justify-center"><h1 className="text-white text-4xl font-bold">Your content here</h1></AuroraBackground>
Examples
Fast Speed
Slow Drift with Content
Slow and dreamy aurora drift
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | Content layered over the aurora |
speed | 'slow' | 'medium' | 'fast' | 'medium' | Animation speed preset |
className | string | - | Additional CSS classes |