Ecommerce Navbar 2 - Two-row header with promo bar

A two-row store header with a dismissible rotating promo bar, a top row with logo, wide search, wishlist and cart total, and a second row of department links. Use it for grocery, electronics or marketplace storefronts with many departments.

About Ecommerce Navbar 2

A two-row store header with a dismissible rotating promo bar, a top row with logo, wide search, wishlist and cart total, and a second row of department links. Use it for grocery, electronics or marketplace storefronts with many departments.

Ecommerce Navbar 2 is a free ecommerce navbar block for React, built on shadcn/ui and Tailwind CSS. It ships as 105 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
  • navbar
  • promo bar
  • header
  • search
  • cart
  • departments

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/ecommerce-navbar-02

Dependencies installed automatically: lucide-react.

Uses: button, utils.

Usage

import EcommerceNavbar02 from "@/components/blocks/ecommerce-navbar-02"

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

FAQ