Animated List
Notification-feed choreography: items drop in from the top with a springy settle while older ones recede.
choreography2 files · 66 locdeps: clsx, tailwind-merge
Installation
With the shadcn CLI, pointing at this platform’s registry:
npx shadcn@latest add https://opusui.131199999.xyz/r/animated-list.jsonOr offline, straight from your opus55 checkout (copies every file it needs):
node ../tailwind_component/opus55/scripts/add.mjs animated-listUsage
import { AnimatedList } from "@/components/opus/effects/animated-list";
<AnimatedList interval={1500}>{notifications}</AnimatedList>API
| Prop | Type | Default | Description |
|---|---|---|---|
| interval | number | 1400 | ms between items. |
| loop | boolean | true | Restart after the last item. |
| max | number | 5 | Items visible at once. |