Animated Group
Animate a group of elements with staggered entrance animations using Framer Motion.
Installation
npx shadcn@latest add animated-groupUsage
1600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">import { AnimatedGroup } 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">from 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">class="text-orange-600 dark:text-orange-400">"@/components/ui/animated-group"2 3600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">export 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">default 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">function Example() {4 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">return (5 600 dark:text-blue-400">class="text-cyan-600 dark:text-cyan-400"> 600 dark:text-blue-400">preset=600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">class="text-orange-600 dark:text-orange-400">"blur-slide" 600 dark:text-blue-400">className=600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">class="text-orange-600 dark:text-orange-400">"flex gap-4"> 6 Item 17 Item 28 Item 39 600 dark:text-blue-400">class="text-cyan-600 dark:text-cyan-400">>10 )11}Examples
Fade
Simple fade-in animation with stagger effect.
Slide
Slide up animation from below.
Blur Slide
Combined blur and slide animation for a smooth entrance effect.
Scale
Scale up animation from smaller size.
Zoom
Zoom in animation with spring physics.
Project Cards
Animate a grid of project cards with staggered entrance.
Sypher Studios
Edited 9 months ago
Design System
Edited 2 weeks ago
Portfolio Site
Edited 1 month ago
E-commerce App
Edited 3 days ago
Dashboard UI
Edited 1 week ago
Mobile App
Edited 5 months ago
Custom Variants
Define custom animation variants for complete control over the animation.
Hover Example
Animate elements on hover using Framer Motion.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| preset | PresetType | - | Animation preset: fade, slide, scale, blur, blur-slide, zoom, flip, bounce, rotate, swing |
| variants | object | - | Custom Framer Motion variants for container and item |
| className | string | - | Additional CSS classes for the container |
| as | ElementType | "div" | HTML element type for the container |
| asChild | ElementType | "div" | HTML element type for child wrappers |
On This Page
Deploy your Saturation UI app
Build beautiful, saturated interfaces with our component library.
Deploy to Vercel for the best performance and developer experience.