Animated list
A list whose rows come and go gracefully: new rows open into place, removed rows close their gap and the rest glide to their new positions.
Export finished
just now
Invoice INV-0417 sent
2 min ago
Bank sync completed
5 min ago
When to use
- Notifications, search results and chip rows that change while you look.
- Any list where a jump would lose people's place.
When not to use
- Long lists that re-sort often; the glide becomes the show.
- Tables, which have their own row behaviour.
Installation
pnpm dlx shadcn@latest add @caliper/animated-list
Adds its 3 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
AnimatedList
2 props
Also accepts the native props of its root element and a ref.
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It is built on native elements, so roles and focus come from the browser.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/animated-list.mdThe index of every part is at /llms.txt.