Design Systems
Overview
A design system is a shared source of truth that pairs design tokens, reusable components, and usage guidelines so designers and engineers ship consistent UI at scale. Material Design 3 (Google's open-source system) defines the token model and component foundations; designsystems.com (Figma's publication) covers process, operations, and governance. Read this when starting, scaling, or governing a component library.
Official sources
Core concepts
- Design tokens — named, tokenized values that are the building blocks of UI and are used identically in design, tooling, and code (M3 design tokens).
- Reference tokens — the full set of available raw tokenized values, e.g.
md.ref.palette.secondary200 (M3 glossary).
- System tokens — semantic roles/choices that make up the system: color, typography, elevation, shape (M3 glossary).
- Component tokens — design attributes scoped to a component, such as a button container's color (M3 glossary).
- Components — reusable building blocks (buttons, fields, cards) wired to system tokens so a token change propagates everywhere.
- Foundations — cross-cutting bases like accessibility, layout, and interaction patterns that underpin every component (M3 foundations).
- Governance — the operations and process layer (contribution, versioning, ownership) covered under Design Operations on designsystems.com.
Best practices
- Layer tokens reference → system → component so raw values stay decoupled from semantic intent (M3 token tiers).
- Use one token set across design tools and code so a single change updates designs and production together (M3 design tokens).
- Bake accessibility into foundations (contrast, focus, hit targets) rather than retrofitting per component (M3 foundations).
- Establish governance — contribution model, ownership, and versioning — so the system evolves without fragmenting (designsystems.com Design Operations).
Common pitfalls
- Hardcoding raw hex/spacing values in components → reference system tokens so themes and rebrands cascade (M3 token tiers).
- Treating the library as "done" with no governance → assign owners and a contribution/versioning process (designsystems.com).
- Building components before defining tokens and foundations → settle tokens and accessibility bases first, then compose components.
Examples
/* System tokens (semantic) reference raw palette tokens */
:root {
--md-sys-color-primary: var(--md-ref-palette-primary40);
--md-sys-color-on-primary: var(--md-ref-palette-primary100);
}
/* Component consumes only system tokens */
.button { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
Further reading
Related skills
- ../color-and-typography — color roles and type scale that tokens encode
- ../ui-ux-principles — consistency and standards realized via shared components
1---2name: design-systems3description: Design tokens, reusable components, and governance for scalable UI; consult when building or maintaining a shared component library.4domain: design5category: design6tags: [design-systems, design-tokens, components, governance, material-design]7official_sources:8 - https://m3.material.io/foundations/design-tokens9 - https://www.designsystems.com/10verified: 2026-06-1611metadata:12 source: https://skillmd.com/skills/gabriel7silva/design-systems13---1415# Design Systems1617## Overview18A design system is a shared source of truth that pairs design tokens, reusable components, and usage guidelines so designers and engineers ship consistent UI at scale. Material Design 3 (Google's open-source system) defines the token model and component foundations; designsystems.com (Figma's publication) covers process, operations, and governance. Read this when starting, scaling, or governing a component library.1920## Official sources21- Material Design 3 — Design tokens: https://m3.material.io/foundations/design-tokens22- Material Design 3 — Foundations: https://m3.material.io/foundations23- DesignSystems.com (by Figma): https://www.designsystems.com/2425## Core concepts26- **Design tokens** — named, tokenized values that are the building blocks of UI and are used identically in design, tooling, and code (M3 design tokens).27- **Reference tokens** — the full set of available raw tokenized values, e.g. `md.ref.palette.secondary200` (M3 glossary).28- **System tokens** — semantic roles/choices that make up the system: color, typography, elevation, shape (M3 glossary).29- **Component tokens** — design attributes scoped to a component, such as a button container's color (M3 glossary).30- **Components** — reusable building blocks (buttons, fields, cards) wired to system tokens so a token change propagates everywhere.31- **Foundations** — cross-cutting bases like accessibility, layout, and interaction patterns that underpin every component (M3 foundations).32- **Governance** — the operations and process layer (contribution, versioning, ownership) covered under Design Operations on designsystems.com.3334## Best practices35- Layer tokens reference → system → component so raw values stay decoupled from semantic intent (M3 token tiers).36- Use one token set across design tools and code so a single change updates designs and production together (M3 design tokens).37- Bake accessibility into foundations (contrast, focus, hit targets) rather than retrofitting per component (M3 foundations).38- Establish governance — contribution model, ownership, and versioning — so the system evolves without fragmenting (designsystems.com Design Operations).3940## Common pitfalls41- Hardcoding raw hex/spacing values in components → reference system tokens so themes and rebrands cascade (M3 token tiers).42- Treating the library as "done" with no governance → assign owners and a contribution/versioning process (designsystems.com).43- Building components before defining tokens and foundations → settle tokens and accessibility bases first, then compose components.4445## Examples46```css47/* System tokens (semantic) reference raw palette tokens */48:root {49 --md-sys-color-primary: var(--md-ref-palette-primary40);50 --md-sys-color-on-primary: var(--md-ref-palette-primary100);51}52/* Component consumes only system tokens */53.button { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }54```5556## Further reading57- M3 customization & theming: https://m3.material.io/foundations/customization58- designsystems.com articles on tokens, ops, and governance: https://www.designsystems.com/5960## Related skills61- ../color-and-typography — color roles and type scale that tokens encode62- ../ui-ux-principles — consistency and standards realized via shared components