How to choose a header pattern
Header patterns differ on four points: how many main pages there are and how deep they go; whether the logo's impression or ease of navigation comes first; whether the header stays visible after scrolling; and how the menu opens on mobile. Use questions 1 and 2 to settle the desktop layout, then questions 3 and 4 for behavior and the mobile menu. Once you have picked a pattern, its page gives you the wireframes, prompts and a live demo.
Question 1: How many main pages, and how deep?
| Number and depth of main pages | Pattern |
|---|---|
| Few, with no child pages, fitting readably in one row beside the logo | → Go to question 2 |
| Too many for the logo's row, or contact details such as a phone number and hours, or secondary functions such as language switching or login, needed on every page | Two-tier header |
| Child pages under main categories, each few enough for a single-column list | Dropdown header |
| Many child pages under main categories, to be chosen in groups or with descriptions | Mega menu header |
Question 2: Logo impression or ease of navigation?
When the main pages fit in one row, this question decides the layout.
| Priority | Pattern |
|---|---|
| Easy navigation and a contact entrance that is easy to find | Horizontal header |
| The shop or brand name making its impression at the center of the header | Centered-logo header |
| Showing photos or work large, with the menu set vertically on the left | Vertical side-nav header |
| Showing the first-screen photo without cutting it off with the header (no background over the photo, switching to a white band once the photo is passed) | Transparent header |
| Showing several contact entrances, such as phone, web booking and LINE, with their hours at the right edge of every page | Contact-button header |
Question 3: Does the header stay visible after scrolling?
Combined with the pattern chosen in questions 1 and 2.
| After scrolling | Pattern to add |
|---|---|
| Long pages where people should move to other pages or get in touch while reading; keep the header at the top, shrunk to the essentials (or as is, if already low) | Sticky header |
| Short pages, or you want the widest possible reading area | Do not keep it (any pattern works as is) |
| Long vertical pages such as articles and news, where you want the body to look wide while reading and the header to appear only when the reader scrolls back up a little | Hide-on-scroll header |
Question 4: How does the menu open on mobile?
Chosen separately from the desktop pattern.
| How the mobile menu opens | Pattern |
|---|---|
| A few items opened and closed lightly, with the page behind still visible | A list opening under the header (the mobile form of the horizontal, two-tier or dropdown header) |
| Large, easy-to-tap items, with the contact entrance and details inside the menu | Full-screen menu header |
| A few pages people go back and forth between, reached without opening a menu | Bottom tab bar |
Header patterns compared
| Pattern | Role | Form | Typical sites |
|---|---|---|---|
| Horizontal header | Layout | Logo, menu and contact button in one row | Small-business corporate sites, service sites, office sites |
| Centered-logo header | Layout | Logo in the center, menu split to either side | Restaurants, salons, hotels, fashion |
| Two-tier header | Layout | Contact details on top, main menu beneath | Professional practices, clinics, builders, schools, organizations |
| Dropdown header | Showing hierarchy | Child pages open in a single column under each category | Corporate and service sites with child pages |
| Mega menu header | Showing hierarchy | Child pages in a large panel, grouped and described | Companies with many services, manufacturers with many products |
| Sticky header | Behavior | Shrinks and stays at the top while scrolling | Sites with many long pages |
| Full-screen menu header | How the menu opens | A menu covering the whole screen | Brand and shop sites (mainly mobile) |
| Bottom tab bar | Mobile placement | Most used pages as tabs at the bottom (header on desktop) | Member sites, services used repeatedly |
| Vertical side-nav header | Layout | Logo and menu stacked vertically on the left and fixed | Sites that show photos or work large |
| Transparent header | How it overlaps the photo | No background over the photo, switching to a white band once the photo is passed | Inns, brand sites, showrooms, facilities |
| Contact-button header | Contact entrance | Phone, web booking and LINE at the right edge, with their hours | Clinics, dental offices, professional practices, repair services, inns |
| Hide-on-scroll header | How it looks after scrolling | Hides when reading down and returns when scrolling back up a set amount | News, media, sites with many long articles |
Design principles shared by every pattern
These principles came up again and again while building the header patterns, whatever the pattern. Whichever one you choose, check the same points.
- Wrap the site-wide top in a header element and mark the main navigation with nav. With several nav elements, give each a distinguishing name such as "Main menu" or "Secondary menu"
- Put aria-current="page" only on the link to the current page itself. If the parent item is highlighted while viewing a child page, treat that as a separate visual "current section" mark
- Do not fix the number of menu items; use what fits readably in one row. When there are too many destinations to fit, consider a hierarchy rather than more rows
- Build toggles as buttons with aria-expanded and aria-controls. Do not rely on icons or symbols alone; let the button name convey the action and state too
- A hover-opened list must be usable by moving the pointer into it, must not vanish during use, and must close with Esc. It must also open on press and by keyboard
- A non-modal menu opening under the header needs no focus trap. A full-screen menu is a modal: keep focus inside and return it to the opening button on close
- Style the main action, such as the contact entrance, apart from the menu items and match its wording to the destination. On mobile, keep it outside the menu when it fits the header comfortably
- Do not stack too many fixed elements: sticky header, sticky contact button, bottom tab bar. What stays should be shrunk to the essentials, with padding so headings and focus are never hidden
- Keep tap areas about 44px tall. Make toggle buttons as easy to press as the items
- If the logo is an image, make its alt text the shop, company or brand name, not "logo". Show phone numbers as text with a tel: link where dialing is possible
- Check at in-between widths, not only large desktop screens, that items do not wrap, and decide where to switch to the mobile layout
Example combinations
- A small-business corporate site: put the main pages and contact button in one row with the horizontal header, opening a list under the header on mobile. With many long pages, keep it shrunk at the top in the form of the sticky header
- Professional practices and clinics: use the two-tier header with the phone number and hours on top and the main pages beneath; if it stays at the top, keep only the lower row
- Companies with many services: use the dropdown header for categories with few child pages and the mega menu header for those with many, category by category
- Restaurants, salons and hotels: show the name at the center with the centered-logo header, and on mobile gather the booking entrance and contact details in the full-screen menu
- Member sites and services used repeatedly: the horizontal header on desktop and the bottom tab bar on mobile, with the most used pages and contact entrance at the bottom and other pages reached from the menu at the top
FAQ
Which question should I start with?
Question 1: the number and depth of the main pages. Once the desktop layout is settled, question 3 decides what happens after scrolling and question 4 how the menu opens on mobile.
Can patterns be combined?
Yes. Layout, hierarchy, scroll behavior and the mobile menu are separate axes, so a horizontal header can shrink and stay in the sticky form while using the full-screen menu on mobile, for example. Just check that fixed elements do not pile up on screen.
Full-screen menu or a list under the header on mobile?
To show items large, or to gather the contact entrance and details inside the menu, the full-screen menu header suits. To open and close a few items lightly, or keep the page behind visible, a list under the header is easier. The full-screen menu is a modal, which adds focus and background handling to verify.
How does the header's contact button relate to the CTA patterns?
The header's contact button is a CTA placed on every page. The same thinking applies: matching the button wording to the destination, ranking primary and secondary actions. See how to choose a CTA pattern for more.





















































































































