Item animation
Items are added, removed and reordered without jumping, and an item can open into its detail.
with <Cuts />
- Write the release notes
- Review the onboarding flow
- Reply to Priya
What moves
| When | What you see | Timing | How |
|---|---|---|---|
| Added, removed or moved | Arrive, fold away and glide | 260–380 ms | ListCut |
| Opens into its detail | Match cut | 420 ms | MatchCut |
Install
Install ListCut and wrap the part that changes: npx shadcn add @keyframery/list-cut.
Install MatchCut and wrap the part that changes: npx shadcn add @keyframery/match-cut.
Turn it off
Put data-cut="none" on a item (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.