No. 127·noun·also called fixed header, persistent header, pinned header

Sticky header

A top bar that stays pinned to the edge of the screen while the rest of the page scrolls underneath it.

SPECIMEN · DIAGRAM · ANATOMY
Header1
Content
Content
Image
Footer
1Stays pinned while content scrolls
Definition

What it is

A sticky header is a header, usually with the logo and navigation, that stays in view as you scroll instead of disappearing off the top. The page content slides underneath it while the bar stays put.

Use it on long pages where people need the menu, search or a main button without scrolling back up. The cost is screen space on every page, which hurts most on phones. Keep it slim, give it a solid background so text underneath doesn't show through, and skip fancy animation.

A common variant hides the header as you scroll down and brings it back as soon as you scroll up. That saves space while keeping the menu close. The same idea works for other things, like a table's column headings or a sidebar that stays in place.

It is not parallax scrolling, where layers move at different speeds, and not the first screen you see when the page loads. It is one element that refuses to scroll away.

Say it like a builder

How to ask for it

Vague

“I want the menu to stay at the top when people scroll down the page.”

Precise

“Make the top navigation a sticky header that stays pinned while the page scrolls. Give it a solid white background and a thin bottom border, keep it under 64px tall, and on mobile hide it when scrolling down and bring it back on scroll up.”

Why it works

'Stay at the top' leaves out whether it is always visible or hides on scroll, what it looks like over content, and how tall it can be; the prompt decides all three.

In the wild

You've seen this in

  • AThe top bar on Amazon that keeps search visible while you browse a long results page
  • GGmail's search bar staying at the top as your inbox scrolls
  • AA mobile news site's header that slides away when you scroll down and returns when you scroll up
Usage note

Often confused with