# 3.26 Pin the header and the action bar

> Chapter 3, Layout and hierarchy. Section: Wide screens and scroll. Guide: https://www.designguide.dev/md/03-layout-and-hierarchy.md#pin-the-header-and-the-action-bar

Default · Adapts

**Rule:** Keep the page header and the primary action bar in view while the content scrolls.

**Wide screen:** On a wide screen, pin the table header row and the first column, and keep the action bar in view. (Triggers: Width 840+, Dense data)

**Why:** A pinned header says where the person is. A pinned action bar keeps the main action in reach.  **When not:** A reading view can hide the pinned header (see [Rule 3.24](https://www.designguide.dev/r/keep-the-global-bar-fixed-on-scroll.md)).

- Pin only what the person needs at every scroll position.
- Keep a pinned part short, so content keeps the height.

**Picture:** Size pair (Phone, 375; Window, 1280): Same 3 orders. The window adds a Status column and pins the header row and first column.

**See:** [3.24 Keep the global bar fixed on scroll](https://www.designguide.dev/r/keep-the-global-bar-fixed-on-scroll.md)
