Page gutter and container widths
How a page fills the screen, from a phone to the widest monitor. Kurt recommends three parts, after testing them in the fluid typography prototype, and they wait for the team’s approval. One question is open: which container widths we need besides 2560px.
Needs a decision4
- RecommendedOne page gutter, set at two widthsNew19 Nov
- RecommendedScreens wider than 2560px: two widthsNew19 Nov
- RecommendedThe header and footer stop at 2560pxNewInset header on older pages19 Nov
- OpenWhich container widths do we need besides 2560px?New19 Nov
Comment on any section with the Vercel toolbar, on the preview link.
- Screen
- 1440px
- Page gutter
- 48px
- Content
- 1344px
- Text sections
- 1344px
- Drawn at
- true size
RecommendedNew19 November 2026
One page gutter, set at two widths
One gutter for every page, header and footer included. Designers set it at 390 and 1440, and the build works out the rest.
- Above 1440 it grows by an eighth, like body text and every spacing step, and holds at 54px from 2560.
- Figma’s Page gutter variable has the same values in every width mode.
Today and Easel 3
Today means engineering’s px-2 sm:px-4 md:px-10 lg:px-12.
| Screen width | Today | Easel 3 | Change |
|---|---|---|---|
| 375 | 8px | 16px | +8px |
| 390 | 16px | 16px | Same |
| 768 | 16px | 27.5px | +11.5px |
| 1024 | 40px | 35.3px | −4.7px |
| 1280 | 48px | 43.1px | −4.9px |
| 1440 | 48px | 48px | Same |
| 1680 | 48px | 49.3px | +1.3px |
| 1920 | 48px | 50.6px | +2.6px |
| 2560 | 48px | 54px | +6px |
| 3440 | 48px | 54px | +6px |
In code: one new Tailwind token
Page gutter becomes one spacing token, gutter, in place of today’s four classes, so it works with every spacing utility:
px-gutterfor the side padding of a section, the header or the footermx-gutterorml-gutterfor a margin-mx-gutterto let a picture break out to the edges of the screengap-gutterwhere a gap should match the gutterscroll-px-gutterso a carousel snaps to the content edge
/* Global CSS: 16px at 390, 48px at 1440, 54px at 2560, worked out once */
:root {
--page-gutter: calc(
1rem
+ clamp(0rem, (100vw - 390px) * 0.03048, 2rem)
+ clamp(0rem, (100vw - 1440px) * 0.00536, 0.375rem)
);
}
// tailwind.config.js: one new spacing token
theme: {
extend: {
spacing: {
gutter: "var(--page-gutter)",
},
},
},RecommendedNew19 November 2026
Screens wider than 2560px: two widths
Type and spacing stop growing at 2560px, so a wider screen only adds empty width. Two caps keep pages predictable, and backgrounds still reach the edges.
- Content stops at 2560px, centred. Grids and carousels use this width.
- Text sections stop at 1680px: the 1440 design with type an eighth larger, rounded up.
In code: a growing gutter, not a wrapper
The side space grows instead: Page gutter plus half of whatever the screen has beyond the cap. Below the cap it equals gutter, so px-page-side lines up with everything else.
/* Global CSS. The space at each side: the gutter, plus half of what the screen has beyond the cap */
:root {
--page-side: calc(var(--page-gutter) + max(0px, (100vw - 2560px) / 2));
--text-side: calc(var(--page-gutter) + max(0px, (100vw - 1680px) / 2));
}
// tailwind.config.js: two more spacing tokens, beside gutter
spacing: {
gutter: "var(--page-gutter)",
"page-side": "var(--page-side)", // px-page-side on a section
"text-side": "var(--text-side)", // px-text-side on a text section
},| Screen width | Page gutter | Content | Text sections |
|---|---|---|---|
| 1280 | 43.1px | 1193.8px | 1193.8px |
| 1440 | 48px | 1344px | 1344px |
| 1680 | 49.3px | 1581.4px | 1581.4px |
| 1920 | 50.6px | 1818.9px | 1578.9px |
| 2560 | 54px | 2452px | 1572px |
| 3440 | 54px | 2452px | 1572px |
The four options tested
| Option | Above 2560px | Result |
|---|---|---|
| Bleed (today) | Every section runs edge to edge | Rows of cards and lines of text keep getting longer |
| Page | The whole page stops at 2560px, backgrounds included | Empty bands at each side of the page |
| Content | Backgrounds reach the edges, everything on the gutter stops at 2560px | Text sections can still be very wide |
| Two widths (chosen) | As Content, and text sections stop at 1680px | Predictable on any screen, and lines of text stay readable |
OpenNew19 November 2026
Which container widths do we need besides 2560px?
Do pages need one or two more, such as a narrow column for forms or long articles?
How Apple does it
From the stylesheets of apple.com’s MacBook Pro and iPhone 17 Pro pages, read on 19 November 2026.
- One content width for almost everything: 87.5% of the screen, up to 1260px. On screens up to 734px wide it is up to 420px. Galleries and media share it.
- One wider width, 1680px, used only by the page header above 1441px. The iPhone page sets its header back to 1260px.
- No cap on the page as a whole, and no narrower text container. Components set their own widths where they need one.
So Apple works with one width, plus a wider one for headers. Our two caps match that pattern, at larger sizes, because our type and spacing grow up to 2560px.
Options
| Option | Widths | For | Against |
|---|---|---|---|
| Two (recommended) | 2560px and 1680px | Fewest rules to learn and build. Text keeps a readable line length with a width in characters, such as 65ch, set on the text | A page that wants a narrow column sets its own width |
| Three | 2560px, 1680px and a narrow column | Forms and articles line up with each other across pages | One more width to name, draw in Figma and test, and to agree a figure for |
For the team: does any type of page need a narrower container than 1680px, or is a line length in characters enough? And should 1680px be a layout guide in Figma, as the Columns guide is?
RecommendedNewInset header on older pages19 November 2026
The header and footer stop at 2560px
Above 2560px the header and footer stop with the content, so their edges line up.
They’re shared, so the change reaches every page at once. A page not yet on the new layout then shows an inset header over full-width content. Slide the diagram to see it.
- Screen
- 3440px
- Page gutter
- 54px
- Content
- 2452px
- Text sections
- 1572px
- Drawn at
- true size
What it means
- The inset shows only in windows wider than 2560px. Narrower windows don’t show it.
- If the header also takes the new Page gutter, an old page’s edges differ from its header’s by up to 5px between 1024 and 1440. Slide the diagram above to 1280 to see it.