Ecommerce Navbar 1 - Mega menu with search and cart count
A store navigation bar with hover mega menus listing subcategories and a featured image, an inline search field and a cart button with item count. Use it as the main header of fashion, home goods or general retail storefronts.
About Ecommerce Navbar 1
A store navigation bar with hover mega menus listing subcategories and a featured image, an inline search field and a cart button with item count. Use it as the main header of fashion, home goods or general retail storefronts.
Ecommerce Navbar 1 is a free ecommerce navbar block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 139 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
- mega menu
- search
- cart
- store
- header
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/ecommerce-navbar-01Dependencies installed automatically: lucide-react, motion.
Uses: button, input, use-reduced-motion, utils.
Usage
import EcommerceNavbar01 from "@/components/blocks/ecommerce-navbar-01"
export default function Page() {
return <EcommerceNavbar01 />
}