Swap grid
- from @craftui
A row of tall photo cards: tap one and it grows into a pane with its story and a link while the others shrink into a rail, and picking another swaps the two mid-flight.
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 @craftui/swap-gridRegistry dependencies0
The CLI adds no other registry items with this one.
