build69
build69  /  Components  /  Commerce  /  Cart

Cart

v1.0.20Updated 19 Oct 2026

Shopping cart page — classic, slide-over, with-suggestions, empty and with-coupon layouts. Full-page copy-paste template; baked-in demo content (edit the JSX to customise).

Preview

Live · 19 stories
ClassicOpen ↗
▸Why this is recommendedcartbasketecommercecommerce+3

Cart — classic.

Recommended for+14
  • ✓Shopping cart screens
  • ✓Ecommerce sites
Tags+6
cartbasketecommercecommercecheckoutpageclassic
Features+4
  • i18n: a labels prop overrides every built-in string; English defaults, brand-free copy
  • Classic, slide-over, with-suggestions, empty and with-coupon layouts
  • Two-column / mobile / shipping / saved-for-later variants
  • Self-contained — no required props
Not recommended for−2
  • ✕Checkout flow (use Checkout)

Install

Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.

get_registry_item({ name: "Cart" })

Usage

import { CartClassic } from '@/components/pages/cart';

<CartClassic />

Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.

Props

PropTypeRequired
className

Optional wrapper class override (copy-paste block, baked-in content)

string—
labels

Override every built-in string and aria-label (i18n). Merged over DEFAULT_CART_LABELS (69 English keys); every template in the file accepts it. The rendered DEFAULTS are English — page templates used to hardcode their copy, which no consumer could translate or ship. MCP feedback fb_ba2ec12f.

Partial<CartLabels>—

Related