Home / Components / Headers & footers
Headers & footers
The four header sizes, two footer modes, and the sticky/z-index/safe-area rules they share.
Chrome is the system's skeleton. Four header sizes and two footer modes cover every surface: the app topbar, the brand header inside the sidebar, the page header, section headers, the content footer, and the phone tab bar. They share the same z-ladder, sticky and safe-area rules — pick by scope, don't invent new ones.
Brand header (sidebar top)
TTriage
generic design system v0.5.0
24px ink square + product name + optional sub-line; the only brand-bound markup in the shell
<a class="brand" href="/"><span class="brand-mark">T</span> <span class="brand-name">Your product</span></a> <div class="brand-sub">workspace · environment</div>
App topbar (tablet & phone)
appears ≤1023px only; sticky at z-30 with backdrop blur; title truncates, status is a dot + word
<header class="topbar"> <button class="iconbtn" id="menuBtn" aria-label="Open navigation" aria-expanded="false" aria-controls="side">…</button> <span class="tb-title">Inbox</span> <span class="tb-status"><span class="dot ok"></span>synced</span> </header>
Page header
Messages
Newest first — select rows to act in bulk.
editors put a .backlink above the title instead of a top-right Back button; actions collapse to the toolbar on phones
<div class="page-head">
<div><h1 class="page-title">Messages</h1>
<div class="page-desc">Supporting line, hidden on phones.</div></div>
<div class="row"><a class="btn primary">Primary</a><a class="btn">Secondary</a></div>
</div>
<div class="backlink"><a href="/automation">← Automation</a></div>Section headers
Pipeline
Scan cadence and folder scope — saves apply per card.
used inside settings sections and any page that stacks cards
<div class="sec-h">Section title</div> <div class="sec-desc">One-line explanation of the section's scope.</div>
Content footer
Triage Design System v0.5.0 · source of truth: tokens/tokens.json
one muted line at the end of content; hidden on phones to protect the tab-bar reserve
<div class="foot">Build/version line, legal or provenance links.</div>
Phone chrome — topbar + tab bar
iframe at 393px: hamburger topbar replaces the sidebar header; bottom tab bar reserves 92px + safe-areaRules
full ladder on /foundations/spacing| Element | Sticky? | z-index | Notes |
|---|---|---|---|
| Sidebar | fixed (desktop) | --z-side (40) | off-canvas drawer ≤1023px, scrim at 35 |
| Topbar | sticky | --z-topbar (30) | ≤1023px only; blur backdrop |
| Page header | no | — | scrolls with content; actions stay in the header |
| Savebar | sticky (bottom) | 4 local | lifts above tab bar and keyboard |
| Bottom nav | fixed | --z-bottom-nav (180) | reserve 92px + env(safe-area-inset-bottom) |
| Toasts | fixed | --z-toasts (300) | must clear the tab bar |
| Focus under chrome | — | — | html{scroll-padding-block:70px 80px} keeps focused controls visible |
Triage Design System v0.13.1-experiment — the central, app-agnostic UI design authority.
Source of truth: /tokens/tokens.json. Showcase chrome only:
site/.