Getting Started
Components
Special Effects
Animations
Text Animations
Backgrounds
An animated gradient text component with aurora-like flowing colors.
Ship beautiful beautiful
Installation
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/aurora-text.json
Copy the Source Code
Copy and paste the following code into your project:
aurora-text.svelte
index.ts
src/routes/layout.css
Folder Structure
Folder Structure
Examples
Demo
Follow Rabbit Rabbit
Props
AuroraText
An animated gradient text component with flowing aurora colors.
| Name | Type | Default | Description |
|---|---|---|---|
children | Snippet | required | The text content to display with aurora effect |
class | string | "" | Additional CSS classes to apply |
colors | string[] | ["#FF0080", "#7928CA", "#0070F3", "#38bdf8"] | Array of hex color values for the gradient animation |
speed | number | 1 | Animation speed multiplier (higher = faster) |