Adding to cart
The flow from product variant selection to confirmed cart addition and a route back to the cart.
Commerce & Checkout · 11 checks · 14 resources
Before you ship
11- 01Outline variant selection for product — size, colour, amount or otherwise, it must be clear what must be picked before adding to cart
- 02Primary action on product page is add to cart — one of the most prominent buttons on the page
- 03Feedback once added — immediate confirmation the item has been added, at a level of intrusion you choose deliberately
- 04Link to cart view — typically in primary navigation, showing the item count and optionally the total price
- 05Show availability before the action — in stock, low stock, out of stock or backordered, so the button never promises what the warehouse cannot
- 06Let quantity be set and bounded — with a clear maximum and a reason when one is hit
- 07Show the price the user will actually pay — currency, whether tax is included, and shipping when it is known
- 08Persist the cart across sessions and devices for a signed-in user
- 09Announce the addition assistively — a live region, so confirmation is not visual-only (WCAG 4.1.3 Status Messages)
- 10Handle the failure case — the item selling out between page load and click, and what the user sees when it does
- 11Offer both next steps — continue shopping and go to cart, rather than forcing the checkout path
Resources that help you build this
14- Mobbin · Searchable library of real mobile and web app screens, organized into user flows
- ReUI · 1,052 free shadcn components, 502 pro blocks, 10 templates, hosted MCP
- BestWebsiteTemplate · 881 Webflow, Framer and Shopify templates, each scored out of 10 by 11 named reviewers
- Flowbite · 56+ MIT Tailwind components with vanilla-JS behaviour, plus a paid 450+ block library
- HyperUI · 537 free MIT Tailwind blocks across application, marketing and neobrutalism sets
- Opensource UI · 154 free MIT React and Next.js components across 26 categories, copy-pasted from pages that serve the full TypeScript source in the HTML
- shadcn design · Paid Figma kit for shadcn/ui, plus coded Pro Blocks and a Figma-to-code plugin
- Shadcn Space · 401+ shadcn blocks, 393+ component variants and 10 site templates, freemium
- shadcn Studio · 800+ shadcn blocks, 16 templates, themes, MCP server and Figma-to-code
- Shadcnblocks · 1,837 paid shadcn blocks and 19 Next.js and Astro templates, lifetime license
- shadcncraft · Paid shadcn/ui registry plus a 1:1 Figma kit, 8 styles across Radix and Base UI
- Tailwind Plus · 500+ paid Tailwind UI blocks, 13 Next.js templates and the Catalyst React kit
- Page Flows · Screen recordings of real user flows from shipped iOS, Android, web, and email apps
- Really Good Emails · 19,000+ curated marketing emails, browsable by category, plus a builder