Animates a group of elements with staggered entry/exit.
pnpm dlx shadcn@latest add @saturation/animated-group
import { AnimatedGroup } from "@/components/ui/animated-group"
<AnimatedGroup preset="fade"> <div>Item 1</div> <div>Item 2</div> <div>Item 3</div> </AnimatedGroup>
preset
"fade" | "blur" | "slide" | "scale"
stagger
number
0.1
On This Page
Dashboard
Analytics
API Gateway
Auth Service
Mobile App
Design System
Hover to replay animation