Animated Gradient Background
A production-scale, light + dark Animated Gradient Background component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add animated-gradient-backgroundLive preview available in the gallery.
Usage
import { AnimatedGradientBackground } from "@lerpa/ui";
<AnimatedGradientBackground />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | — | |
| animate | boolean | — | |
| minHeight | number | string | — | |
| showGrid | boolean | — | |
| blur | number | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.