UI Structures: The Models the World Uses
Real app shell: Header + Sidebar + main + surfaces. Anatomy, zones, and what not to mix — designed from a product design system.
What type of article is this? An explanation of the most commonly used UI structures in dense products — illustrated with the anatomy of a real app shell (structure template, header, and sidebar from a design system), rather than generic stock wireframes.
1. Template / Structure — The Dominant Model
In admin, B2B, and SaaS, the most repeated structure in the world is the app shell:
- Header — brand chrome and global actions (sticky).
- Sidebar — stable navigation (collapsed ~82px / expanded ~300px).
- Main — workspace; maximum width (e.g. ≤1640px) to avoid "stretching" the content.
In the product, the shell is assembled once. The feature does not redesign the sidebar nor invent another <header> in green. The core begins at the Page Header (title, subtitle, screen actions) and descends to cards.
2. Header — Zones, Not a “Full Bar”
A good header is a map of zones, not a dump of buttons:
- Brand — logo + channel name.
- Date / Time — temporal context (when it makes sense).
- Context — company / position / active account.
- Internal — impersonation chip (only when necessary; disappears on mobile for the sidebar).
- Actions — cart, notifications, profile (hits ≥40–48px).
Good: header = only global chrome.
Not: filters, feature tabs, or page CTAs in the brand bar — that is the Page Header, in the main.
3. Sidebar — Rail with Levels
The classic sidebar of the world (and the one that scales) is a rail:
- Collapsed — L1 icons + pin.
- Expanded / Pinned — title like “Navigate by:”, L1 (group/destination), L2 (submenu), L3 (rare block: highlight / upsell).
Sticky under the header. The tree comes from a single source (nav config) — not from CSS copied by feature.
Good: hits ~40px, short gap, L3 exceptional.
Not: campaign CTA in the rail; second sidebar; shimmer of “company” here (that belongs in the header).
4. Inside the Main — Surfaces, Not Shadows
After the chrome, the structure the world uses for content is a stack of surfaces:
- Page (N60) — background of the main.
- Container — groups (optional).
- Block Header (subtle) — section title.
- Body / Footer (elevated / N0) — where the person reads and acts.
The brand from the header/sidebar is not a card surface. Green (or any chrome colour) within the card breaks the hierarchy and appears as “wrong theme”.
5. Good vs Fragile
- Good: a shell; Page Headers in the main; surfaces with paper; sidebar with stable tree; tokens (not loose hex); main with width ceiling.
- Not: second header/sidebar; filters in the chrome; brand in the card; fork of the shell by project; TOC documentation in the product; CTA in the rail.
The other classic models (tabs, cards, wizard, master-detail) live within this shell — they do not compete with it. The structure of the world = stable chrome + core with a clear job.