Animated Background

A component for creating animated, gradient backgrounds.

Installation

Import the component from the passport-ui package.

components/example.tsx
1
import { AnimatedBackground } from "passport-ui";

Usage

Basic example showing how to use the component.

components/example.tsx
1
2
3
4
<AnimatedBackground
className="h-64 w-full"
colors={["#ff6b6b", "#4ecdc4", "#45b7d1"]}
/>

Additional resources

Documentation and examples are available in Storybook.