Shopping Cart 4 - Tabular cart page with summaryPro

A full-width cart page laid out as a table with product, price, quantity and total columns, followed by a right-aligned order summary with tax and checkout. Use it for stores where shoppers compare unit prices and line totals at a glance.

About Shopping Cart 4

A full-width cart page laid out as a table with product, price, quantity and total columns, followed by a right-aligned order summary with tax and checkout. Use it for stores where shoppers compare unit prices and line totals at a glance.

Shopping Cart 4 is a pro shopping cart block for React, built on shadcn/ui and Tailwind CSS. It ships as 103 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • ecommerce
  • cart
  • table
  • line-items
  • summary
  • checkout

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/shopping-cart-04

Dependencies installed automatically: lucide-react.

Uses: button, reveal, separator, utils.

Usage

import ShoppingCart04 from "@/components/blocks/shopping-cart-04"

export default function Page() {
  return <ShoppingCart04 />
}

FAQ