UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
---
title: Animated List
date: 2023-12-12
description: A list that animates each item in sequence with a delay. Used to showcase notifications or events on your landing page.
author: dillionverma
published: true
---
<ComponentPreview name="animated-list-demo" />
## Installation
<Tabs defaultValue="cli">
<TabsList>
<TabsTrigger value="cli">CLI</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">
```bash
npx shadcn@latest add @magicui/animated-list
```
</TabsContent>
<TabsContent value="manual">
<Steps>
<Step>Copy and paste the following code into your project.</Step>
<ComponentSource name="animated-list" />
<Step>Update the import paths to match your project setup.</Step>
</Steps>
</TabsContent>
</Tabs>
## Usage
```tsx showLineNumbers
import { AnimatedList } from "@/components/ui/animated-list"
```
```tsx showLineNumbers
<AnimatedList>
<p>Item 1</p>
<p>Item 2</p>
<p>Item 3</p>
</AnimatedList>
```
## Props
### Animated List
| Prop | Type | Default | Description |
| ----------- | -------- | ------- | --------------------------------- |
| `className` | `string` | `-` | The class name for the component |
| `delay` | `number` | `1000` | The delay between each item in ms |