ProDrag
Swipe Shortlist
A product deck you decide on by swiping: right saves, left skips, up puts the item straight into the bag.
When to use it
- New arrivals or drop pages where shoppers flick through a small edit and keep what they like
- Gift finders and style quizzes that end in a cart instead of a results page
- Mobile campaign pages where a card deck reads better than a grid
Watch out
- Keep the deck short (5 to 12 items); past that people stop deciding and start skipping
- Decisions are local UI state; persist them in onDecide and clear them on onUndo if the wishlist or cart lives on your server
- The card takes the pointer (touch-action none), so leave room above and below it for the page to scroll on phones
- Swiping is not the only path: keep the three buttons visible for keyboard, screen reader and switch users
Let your agent add it
One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.
This is a Pro block
One license unlocks every Pro block, now and in the future.
One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.
Install with your license
- 1. Add the SunUI Pro registry to
components.json.components.json{ "registries": { "@sunui-pro": { "url": "https://sunui.synvize.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${SUNUI_LICENSE_KEY}" } } } } - 2. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/swipe-shortlist
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro
- Pro





