Design System Documentation Template
Principles, consumers, tokens in Design Tokens Format 2025.10, themes, components, WCAG 2.2 AA contract, SemVer and deprecation, governance RACI
사용법: Use it when several designers, products or repositories share components. Fill the tokens first, then components with states and keyboard behaviour, then the accessibility contract. The main pitfall is documenting how a component looks but not its states, accessible name and keyboard behaviour.
미리보기
Design System: [name]
The contract between design and code: design tokens, components, the rules for composing them, the accessibility contract each component must meet, and how the system is versioned, governed and changed. Tokens follow the Design Tokens Format Module 2025.10 (Design Tokens Community Group, Final Community Group Report, 28 October 2025; not a W3C Standard). Accessibility targets WCAG 2.2 Level AA (also ISO/IEC 40500:2025). Releases follow Semantic Versioning 2.0.0. Replace every
[bracketed]value and every row marked Example. Worked examples use Heron, the fictional design system of Quillmere Library.
Document control
| Field | Value |
|---|---|
| Document ID | [DS-001] |
| System | [Example: Heron] |
| Current release | [Example: 2.3.0] |
| Status | [Draft / Adopted / Deprecated] |
| Owner | [@design-system-lead] |
| Approvers / reviewers | [@engineering-lead], [@accessibility-lead], [@brand-lead] |
| Last updated | YYYY-MM-DD |
| Classification | [Internal / Public] |
| Token source | [Example: repo heron/tokens/*.tokens.json] |
| Packages | [Example: @heron/tokens, @heron/react] |
Approvals
| Role | Name | Decision | Date |
|---|---|---|---|
| Design system lead | [@name] | [Approved] | YYYY-MM-DD |
| Engineering lead | [@name] | [Decision] | YYYY-MM-DD |
| Accessibility lead | [@name] | [Decision] | YYYY-MM-DD |
Revision history
| Version | Date | Author | Change |
|---|---|---|---|
| 0.1 | YYYY-MM-DD | [@name] | First draft |
| 1.0 | YYYY-MM-DD | [@name] | Adopted |
1. Principles
- [Example: Accessible by default: every Stable component meets section 5 without extra work.]
- [Example: Compose, do not fork: extend through props and tokens, not copied components.]
- [Example: Consistency over novelty: a new pattern needs evidence that existing ones fail.]
2. Scope and consumers
| Consumer | Platform | Package version | Contact |
|---|---|---|---|
| [Example: Larkspur app] | iOS, Android (React Native) | 2.3.x | [@app-lead] |
| [Example: Catalogue website] | Web (React) | 2.2.x | [@web-lead] |
3. Design tokens
Tokens are stored as JSON in the Design Tokens Format Module 2025.10: each token has a $value
and a $type, an optional $description and $deprecated, and aliases use curly braces such as
{color.base.blue.600}. Dimensions use px or rem.
{
"color": {
"base": {
"blue": {
"600": { "$type": "color", "$value": { "colorSpace": "srgb", "components": [0.11, 0.33, 0.69], "hex": "#1c54b0" } }
}
},
"action": {
"primary": { "$type": "color", "$value": "{color.base.blue.600}", "$description": "Primary buttons and links" }
}
},
"space": {
"md": { "$type": "dimension", "$value": { "value": 16, "unit": "px" } }
}
}
| Token | Tier | Light value | Dark value | Use |
|---|---|---|---|---|
color.action.primary (Example) | Semantic | {color.base.blue.600} | {color.base.blue.300} | Primary actions |
color.surface.default (Example) | Semantic | {color.base.grey.0} | {color.base.grey.900} | Page background |
color.text.default (Example) | Semantic | {color.base.grey.900} | {color.base.grey.50} | Body text |
space.md (Example) | Base | 16 px | 16 px | Default gap |
radius.md (Example) | Base | 8 px | 8 px | Cards, inputs |
typography.body (Example) | Composite | 16 px / 1.5, regular | same | Paragraphs |
3.1 Themes and modes
| Theme | Overrides | Contrast checked | Notes |
|---|---|---|---|
| Light (Example) | Default values | Yes, YYYY-MM-DD | |
| Dark (Example) | Semantic colour tokens | Yes, YYYY-MM-DD | Follows the OS setting, user can override |
| High contrast (Example) | Text, border, focus tokens | Planned |
4. Components
| ID | Component | Status | Since | Spec | Notes |
|---|---|---|---|---|---|
| CMP-001 (Example) | Button | Stable | 1.0.0 | [link] | Variants: solid, soft, ghost |
| CMP-002 (Example) | Text field | Stable | 1.0.0 | [link] | With label, hint, error |
| CMP-003 (Example) | Sortable list | Beta | 2.3.0 | [link] | Drag plus move buttons |
| CMP-004 (Example) | Legacy modal | Deprecated | 1.0.0 | [link] | Use Dialog, removal in 3.0.0 |
4.1 Component specification (repeat per component)
- Purpose and when not to use it.
- Anatomy: [parts, for example container, label, icon, focus ring].
- Variants and sizes: [list], with the tokens each uses.
- States: default, hover, focus, active, disabled, loading, error.
- Keyboard: [Example: Enter and Space activate; Tab moves focus].
- Accessible name and role: [Example: native
button; icon-only buttons need a label]. - Do: [usage rule]. Do not: [anti-pattern].
5. Accessibility contract
| ID | Requirement | WCAG 2.2 SC |
|---|---|---|
| ACC-001 | Text contrast at least 4.5:1 (3:1 for large text) in every theme | 1.4.3 (AA) |
| ACC-002 | Borders, focus indicators and state colours at least 3:1 | 1.4.11 (AA) |
| ACC-003 | Visible focus indicator on every interactive element | 2.4.7 (AA) |
| ACC-004 | Focused element not entirely hidden by sticky or floating components | 2.4.11 (AA) |
| ACC-005 | Full keyboard operation, no keyboard trap | 2.1.1, 2.1.2 (A) |
| ACC-006 | Any drag interaction has a single-pointer alternative | 2.5.7 (AA) |
| ACC-007 | Pointer targets at least 24 by 24 CSS px or meet the spacing exception | 2.5.8 (AA) |
| ACC-008 | Visible label text included in the accessible name | 2.5.3 (A) |
| ACC-009 | Correct name, role, state and value exposed | 4.1.2 (A) |
| ACC-010 | Status messages announced without moving focus | 4.1.3 (AA) |
| ACC-011 | Motion can be reduced (honour prefers-reduced-motion), good practice | 2.3.3 (AAA) |
6. Versioning and deprecation
Releases follow Semantic Versioning 2.0.0:
| Change | Version bump | Example |
|---|---|---|
| Removing or renaming a token, component or prop; changing default behaviour | Major | 2.3.0 to 3.0.0 |
| New component, token or prop; marking something deprecated | Minor | 2.3.0 to 2.4.0 |
| Bug fix with no API change | Patch | 2.3.0 to 2.3.1 |
Deprecation policy: mark the item deprecated (tokens with $deprecated, components in the
changelog and in code warnings), keep it for at least [Example: one minor release and 90 days],
publish a migration note, then remove it in the next major release.
7. Governance and contribution
| Activity | Design system team | Product teams | Accessibility lead | Engineering lead |
|---|---|---|---|---|
| Propose a component | C | A, R | C | I |
| Approve for Beta | A, R | C | C | C |
| Promote to Stable | A, R | C | C (must pass section 5) | C |
| Release and changelog | A, R | I | I | C |
| Deprecate | A, R | C | I | C |
Proposal route: [Example: an RFC in the design-system repository using dev/rfc, reviewed in the fortnightly design system forum].
8. Changelog and related templates
| Version | Date | Changes |
|---|---|---|
| 2.3.0 (Example) | YYYY-MM-DD | Added Sortable list (Beta); deprecated Legacy modal |
| 2.0.0 (Example) | YYYY-MM-DD | Tokens migrated to Design Tokens Format 2025.10; renamed primary to color.action.primary |
Related: design/accessibility-checklist, design/design-critique, marketing/brand-guidelines, dev/changelog, dev/rfc, dev/adr.
Standard and licence note
Based on the Design Tokens Format Module 2025.10 (Design Tokens Community Group, Final Community Group Report, 28 October 2025, designtokens.org/TR/2025.10/format/), Semantic Versioning 2.0.0 (semver.org) and WCAG 2.2 (W3C Recommendation, also ISO/IEC 40500:2025). Property names and criterion numbers are cited; the text is original. Check the current versions, because a newer token format draft was in preparation in 2026. Template licence: MIT.
관련 템플릿
Accessibility Checklist Template (WCAG 2.2)
Pre-release check of all 55 WCAG 2.2 A and AA criteria by number, legal context (EAA, EN 301 549, UK, Section 508), evidence, issues
디자인 및 UXDesign Brief Template
Objective with metric, audience, research inputs, scope, requirements, WCAG 2.2 target, budget, RACI, timeline, asset rights, success criteria
디자인 및 UXDesign Critique Notes Template
Critique notes: goals, timeboxed protocol and roles, I like / I wish / what if feedback with severity, decisions, next iteration