Sticky Header

UI pattern

01 Definition

Sticky Header meaning: A navigation bar that stays fixed at the top of the screen while the user scrolls.

A sticky header remains visible at the top of the viewport as the page scrolls, keeping navigation, search, or a call to action always within reach. It aids wayfinding on long pages but consumes vertical space, which is a bigger tradeoff on small mobile screens.

Also called

fixed headerpersistent header

Why it matters

How Sticky Header fits the work

Keeping navigation and key actions on screen saves users from scrolling back to the top, which helps on long pages and can make it easier to reach the next step.

In context

The sticky header kept the logo, main menu, and a Buy button visible as the user scrolled through the long product page.

!

Practical note

On phones a tall sticky header steals scarce screen height and can cover content. Keep it slim, or hide it while scrolling down and reveal it when scrolling up.