<aside> 📌
Working reference for the HR software redesign. Part 1 covers design foundations, Part 2 the full component inventory, and Part 3 the documentation standards. The two component tables can be filtered by Tier, Stage and Category.
</aside>
<aside> 🎨
Set these up as Figma variables with modes and mirror them in code (Style Dictionary or Tokens Studio → CSS variables or a theme object).
</aside>
| Level | Type | What it holds |
|---|---|---|
| 1 | Primitive / core | Raw values: blue-600, space-4, radius-2 |
| 2 | Semantic | Meaning: color-bg-surface, color-text-danger, color-border-focus |
| 3 | Component (optional, add later) | Scoped overrides: button-primary-bg |
<aside> 💡
Designers and developers should only use semantic tokens. This is what makes dark mode, white-labeling and future rebrands cheap.
</aside>
| Foundation | What to define |
|---|---|
| Color | Brand, neutral scale (10–12 steps; HR UIs are mostly neutrals), semantic colors (success, warning, danger, info), HR status colors (pending, approved, rejected, draft, scheduled, terminated), data-viz palette, light/dark modes. Everything must meet contrast requirements. |
| Typography | Type scale (display → caption), weights, line heights, tabular numerals for salary and payroll tables, monospace for IDs, truncation and line-clamp rules |
| Spacing | 4px base scale, plus density modes (comfortable and compact). Admins working in large tables will ask for compact. |
| Layout & grid | Breakpoints, columns, max content widths, page templates, side-panel widths |
| Elevation | Shadow levels and z-index scale (dropdown < sticky < drawer < modal < toast) |
| Radius & borders | Radius scale, border widths |
| Iconography | One icon library (Lucide, Phosphor, Material Symbols), sizes, stroke, and a set of HR-specific icons |
| Motion | Duration and easing tokens, plus prefers-reduced-motion rules |
| Illustration & imagery | Empty-state style and avatar fallback rules (initials, color generation) |
| Data visualization | Chart colors, axis and grid styles, legend and tooltip rules for headcount, turnover and compensation charts |
| Accessibility | Target WCAG 2.2 AA (often required by enterprise and public-sector buyers), focus ring style, minimum target size, contrast pairs |
| Content & voice | Calm, plain tone (HR covers sensitive moments such as terminations, leave and pay), capitalization, date/number/currency formats, approved glossary |
| Localization | Text expansion (+30–40% for German), RTL if needed, name formats (no forced first/last split), address formats, date formats, currencies, time zones |
| Theming / white-label | If customers can brand their portal, decide which tokens they can override |
<aside> 🧩
Every component is tagged with a Tier (what kind of component it is) and a Stage (when to build it). Read the two guides below, then use the tables to plan and track work.
</aside>
| Tier | What it is | Examples |
|---|---|---|
| Base | Tokens and primitives. Never used on their own; everything else is built from them. | Color variables, icon, focus ring, layout primitives |
| Basic | Single-purpose UI elements that do one job. | Button, text input, avatar, tooltip, modal |
| Composite | Two or more basic components combined into a reusable unit. | Page header, person cell, filter bar, approval chain |
| Complex | Stateful, logic-heavy components and HR patterns. Most redesign effort goes here. | Data grid, org chart, time-off flow, payroll review |
| Template | Page layouts that arrange everything above. | List page, detail page, dashboard, settings |
| Stage | When and how to build |
|---|---|
| 1 · Build first | Build before exploration starts. Stable and low-risk, and exploration goes faster with them in place. |
| 2 · Shape in flows | Let them come out of real flows. Sketch them rough and don't add them to the library yet. |
| 3 · Test then add | Complex HR patterns. Explore them in flows, test with users, and add them to the library only once they're validated. |
| 4 · Build last | Need validated flows, real data and testing before they're worth building properly. |
Tokens, primitives and single-purpose elements. Views: All, Build-first checklist, By stage. Components that are specific to HR software are noted in the Notes column.