Shopping Cart 8 - Mini cart dropdown in navbarPro

A storefront navbar with a "Bag" dropdown trigger showing item count and subtotal, opening a menu with thumbnails, remove buttons and view-bag and checkout actions. Use it in the header of any shop to give quick cart access without leaving the page.

About Shopping Cart 8

A storefront navbar with a "Bag" dropdown trigger showing item count and subtotal, opening a menu with thumbnails, remove buttons and view-bag and checkout actions. Use it in the header of any shop to give quick cart access without leaving the page.

Shopping Cart 8 is a pro shopping cart block for React, built on shadcn/ui and Tailwind CSS. It ships as 107 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
  • dropdown
  • mini-cart
  • navbar
  • header

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-08

Dependencies installed automatically: lucide-react.

Uses: button, dropdown-menu, utils.

Usage

import ShoppingCart08 from "@/components/blocks/shopping-cart-08"

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

FAQ