# Storefront Cart

Full shopping cart page with quantity steppers, promo code and totals.

- id: `storefront-cart`
- Page: https://agentic-ui-kit.com/components/storefront-cart
- Live preview: https://agentic-ui-kit.com/storefront/cart?piece=storefront-cart

## Install

```bash
agentic-ui add storefront-cart
npx shadcn@4.17.0 add @agentic-ui/storefront-cart
```

## Metadata

- **Level:** page
- **Category:** page
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** quantity-stepper, remove-with-undo, promo-code, free-shipping-meter, order-totals, empty-cart, suggested-products
- **Intents:** manage-collection, execute-flow
- **Suits domains:** ecommerce, marketing
- **Interaction:** stepper, form-submit, click, undo
- **Screen role:** management
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** full shopping cart page with quantity steppers, promo code and totals, cart with remove and undo, a free shipping meter and a checkout button, e-commerce basket page with suggested products
- **Avoid when:** a slide-over cart on any page (use commerce-cart-drawer)
- **Preserve when adapting:** single-h1-per-page, section-order, link-integrity
- **Replace when adapting:** brand-copy, content-data, links
- **Adaptation effort:** low
- **Coupling:** medium
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **Uses primitives:** button
- **npm dependencies:** next, lucide-react, next-themes
- **Motion:** profile subtle, library css, reduced-motion fallback yes
- **Used in:** Online Store (blueprint)
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** commerce-cart-drawer, commerce-order-tracking, commerce-reviews-block, commerce-variant-picker, lib-primitives, search-faceted-sidebar
