Patterns
Page widths and reading columns
Width follows the content. Data takes the room it needs; sentences stay at a length people can read.
Four widths
Each bar is capped at its width and shrinks with the screen, as the real page does. Page gutter is clamp(1rem, 4vw, 2.5rem) in mock templates.
Working page
100%
Tables, boards, lists and diagrams gain from the width. Padding is 1rem on mobile, 1.5rem from md, 2rem from xl.
Narrow page
56rem
A page that is mostly prose or one form. Centred, never against the left edge (max-w-4xl, mx-auto).
Mock UI reading column
42rem
In a mock template a reading column is 42rem and centred; lists and grids use the full width. Never a narrow left column.
Prose
68ch
Documentation text and long descriptions. The reading column, whatever the page width.
Narrow means centred
A narrow page is a column in the middle of the screen. Pinned to the left it leaves a dead half-screen on a wide display.
Do
Centre the column and leave equal space on both sides.
Don't
Cap the width and hang it on the left edge.
Rules
- Full width for data
- A table or board is never squeezed into a reading column to look tidy.
- Columns reflow below 36rem
- One column under 36rem and no horizontal scroll at 390px. Short labels wrap; they are never truncated with an ellipsis.
- Fill the page with its data
- Shape the grid to the content: four quadrants for a matrix, a time column for a schedule, bars for limits. No empty half-screens.
- In the factory
- The page body is
PageBody; a prose or form page passesnarrow.
This documentation follows its own rule: the frame is 1280px, prose is held to 68ch, and tables use the full column.