Shopping Cart 3 - Centered shopping cart page with inline summary
- from @shadcncraft
A streamlined and focused shopping cart layout where all elements are stacked in a single centered column. The page displays the list of items with full management controls (quantity and removal), followed directly by the promotional code input and the financial breakdown (subtotal, shipping, and taxes). This design minimizes eye travel and provides a clear, linear path toward the final checkout action.
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 @shadcncraft/shopping-cart-3Registry dependencies5
- button
- input
- separator
- @shadcncraft/cart-item-1
- @shadcncraft/section-heading
Packages0
No npm packages are installed with it.
