Swap (Motion)
- from @dashral
Swap with motion: the old content is lifted out and fades fast while the new one rises or pops in on a spring, and whatever is around glides to the new size.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @dashral/motion-swapLive preview
No live preview has been built for this component yet.
