Navbar — Announcement, search and categories

An announcement strip sits above a logo and search row, followed by wrapping category links; search stays visible on mobile. Use it when people browse categories and search equally often.

1440 × 900

Open in new tab

Pattern notes

When to use
Use when people browse categories and search equally often. Choose navbar-centered-masthead for a search-free header. Variations: change the count badge, replace announcement copy, or reduce categories.
Hierarchy
Read announcement, Logo, search, Account and Cart with count badge, then six 14px categories. The input has a hidden label and Search destinations placeholder. Limit announcement to 12 words and links to 1–2 words.
Responsive
Below 768px a two-column grid places Logo and utilities on the first row and search across the full second row, 16px apart. At 768px all three regions share a row. Categories and announcements wrap at every width.
Layout
Three bands: a neutral-900 announcement at least 40px tall; a 1152px max-w-6xl main container with 24px side and 20px vertical padding; and a ruled category row with 16px vertical padding and 32px gaps. At 768px the main row uses three grid columns with a minmax(0,1fr) search area capped at 576px. Search pairs a 40px input and 40px icon submit with an 8px gap.
States
Text links hover from neutral-900 to neutral-600. Announcement links hover to neutral-300 with white focus outlines. Submit fills neutral-50 on hover. Native GET submission sends the search query. Other enabled controls have a 2px neutral-900 focus outline offset 2px. There are no disabled controls.
Desktop wireframe
┌──────────────────────────────────────────────────────────────┐
│           Short announcement sentence  [Read more]           │
├──────────────────────────────────────────────────────────────┤
│ Logo      [Search destinations           ] [Go] Account Cart │
├──────────────────────────────────────────────────────────────┤
│      Product   Collections   Guides   New   Popular   Help   │
└──────────────────────────────────────────────────────────────┘