Navbar
E-commerce navbar blocks for shadcn/ui. Store headers with category menus, search, cart and account controls, promo bars, and mobile sheet navigation. Built for shadcn/ui.
Store header built with shadcn/ui: a slim primary-coloured promo bar announces free shipping and returns, below it the logo sits left, category links (with Sale in the destructive colour) are centred and ghost icon Buttons for search, account, wishlist and cart sit right. The cart Button carries a count Badge, and under the md breakpoint a hamburger Button opens a Sheet with the full category list. Uses Button, Badge, Sheet and Skeleton for the faint page placeholder.
Two-row store header from shadcn/ui focused on product search: the logo, a wide search Input with a category Select prefix composed inside one bordered row, and account, wishlist and cart icon Buttons with a count Badge. A second border-topped row lists the shop categories, and on small screens a hamburger Button opens a Sheet that repeats the search bar and links. Built from Input, Select, Button, Badge, Sheet and Skeleton.
Store header where the Women and Men links open a wide four-column Popover: three link columns for Clothing, Shoes and Accessories plus a photo tile promoting the new Fjell Overshirt. The remaining categories are plain ghost Buttons, icon Buttons for search, account, wishlist and cart (with a Badge) sit right, and a Sheet handles mobile navigation. Composed from shadcn/ui Popover, Button, Badge, Sheet and Skeleton.
Classic department-store header built with shadcn/ui: a three-column top row with small Help, Stores and Track order links, a centred wordmark and icon Buttons for search, account, wishlist and cart with a count Badge. A second centred row lists the categories and marks the active one with a pseudo-element underline bar. Below md the hamburger Button opens a Sheet; uses Button, Badge, Sheet and Skeleton.
Airy boutique header with generous vertical padding, a large tracking-tight wordmark and four uppercase, wide-tracked category links with Sale in the destructive colour. The right side stays quiet with a Search icon Button and a ghost "Cart (3)" text Button; a very light bottom border separates it from the page. Mobile navigation opens in a right-side Sheet. Built from shadcn/ui Button, Sheet and Skeleton.
Frequently asked questions
What the Navbar blocks include, how to install them, and which ones are free.
5 Navbar blocks for shadcn/ui:
- Promo bar and category header
shop-navbar-01(free) - Search-first header with category row
shop-navbar-02 - Mega menu header with featured tile
shop-navbar-03 - Centred logo with underlined active category
shop-navbar-04 - Minimal boutique header with text cart
shop-navbar-05
Set up the shadcn/ui Pro registry in your project once, as described in Installation, then run npx shadcn@latest add @shadcnpro/aria/shop-navbar-01. The block lands in components/blocks/shop-navbar-01.tsx together with the shadcn/ui components and npm packages it uses. shop-navbar-01 is free, so it installs without a license key.
Yes. Promo bar and category header (shop-navbar-01) is free: the code is shown on this page and it installs without a license key. The other 4 need a shadcn/ui Pro plan, which starts with a 7-day free trial.
Yes. Every Navbar block uses semantic classes such as bg-background, text-muted-foreground and bg-primary, so it picks up your colors, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls on the preview above let you check.
Yes. Every Navbar block has a matching design in the shadcn/ui Pro Figma kit, so designers and developers work from the same layout. The /generate-code Agent Skill installs the block from the registry when it finds it in a Figma frame, instead of rebuilding it.
Yes. With the shadcn/ui Pro MCP server connected to Cursor, Claude Code or VS Code, describe what you need, for example "Use shadcnpro to add a promo bar and category header." The agent finds the block with search_blocks, reads its install command and installs it after you approve.