Identify the design decisions teams keep repeating
When two teams build separate date pickers, they have to solve the same keyboard, translation and validation problems twice. A design system gives them shared rules for those decisions and a way to improve the result together. The need becomes clear when buttons with the same purpose use several colors, teams cannot agree which error state to use, or a new theme affects more screens than anyone can identify.
For a small product, a shared Figma library and stylesheet may cover the decisions teams repeat. Add a documented component library and clear ownership when multiple teams must share controls or when new themes and reading directions expose gaps in the current library.
The layers of a design system
- Pages and screensProduct screens assembled from components and patterns
- PatternsShared approaches to recurring tasks such as filtering a table or completing a multi-step form
- ComponentsButtons, fields, menus and cards with defined properties and states
- Semantic tokensNames for roles such as surface, text-muted, danger and spacing-inline
- Primitive tokensValues for color, type, spacing, corner radius, shadow and motion
Inventory the product before adding components
Group examples of buttons, inputs, tables, dialogs and messages from the current product. Count variants and note where each is used. For a variant that must stay, record the reason. A special case required by an approval workflow deserves a different decision from a button that happens to use a different shade.
Compare the visual inventory with the code. Flag components copied between products and those available in design or in code only. Record their owners and decide which versions to keep. Use the inventory to scope a first release that will support an existing product flow, such as a set of tokens and around a dozen core components with documentation.
Give tokens a role in the product
A primitive token names a value, such as a particular blue. A semantic token names a purpose, such as the color of the primary action or the background for an error. When a component uses the semantic name, a dark theme can change which value supplies that role without changing the component.
The Design Tokens Community Group published its first stable release in October 2025. Its Format Module 2025.10 is a Final Community Group Report. A token has a $value. Its type can be declared with $type, taken from a referenced token or inherited from a parent group. The format allows $description and $deprecated and supports aliases such as {color.blue.600}. It defines types for individual values such as color, dimension, fontFamily, fontWeight, duration, cubicBezier and number, and for combinations such as typography, shadow, border, transition and gradient. The recommended file extensions are .tokens and .tokens.json.
The Resolver Module 2025.10 applies token sets in an explicit order. It uses modifiers to select a context, such as light, dark or high contrast, and lets a later value override an earlier one when the same token occurs more than once. Test the contexts you plan to use in your design and build tools before adopting that format.
Figma's guide to variables explains how one variable can have different values across modes. Figma also documents direct import of DTCG JSON into a variable mode. Supported examples include sRGB or HSL colors, dimensions in pixels, durations in seconds and font family values with one font name. Test unsupported or composite values in the rest of your build pipeline. Check whether the team can publish variables to its library under its current plan. Automated synchronization through the Variables REST API requires a full seat in an Enterprise organization. Keep one authoritative repository for token values where practical and generate the CSS, Android and iOS outputs you need from it.
Adapt themes, scripts and reading directions
Give both themes the same components. Map surface and text-primary to values that work in each theme, and verify their contrast in use. Set the reading direction at the document or screen level. Logical properties for inline start and end let appropriate spacing follow that direction. Check how controls, navigation and directional icons behave in context.
For each script, choose fonts and line heights that keep text readable, including when labels wrap or carry marks above and below the line. When supporting Arabic, test joined letters, mixed-direction labels and diacritics. Avoid applying letter spacing designed for Latin text to Arabic text. See our guide to Arabic and right-to-left interfaces for cases to test in a product flow.
Specify the states a component needs
Document what happens when a loading button is pressed again, when a name wraps, or when a table has no rows. Define each state that a component can reach and show it in both design and code.
States to cover in a component definition
- Default, hover and pressedShow the resting appearance and the response to pointer input
- Keyboard focusKeep the focus indicator visible and check it with sticky elements in place
- Disabled and read-onlyDistinguish unavailable actions from values users can still read and explain restrictions when needed
- LoadingShow progress and decide whether to prevent repeated submissions
- Error and successGive feedback through text or an icon as well as color and say what assistive technology should announce
- EmptyExplain what an empty list, table or search means and offer the next action when useful
- Long labels and right-to-left layoutsTest wrapping in supported languages, reading directions and narrow layouts
Use the same names for component properties in design and code. For a button, those might include variant, size and optional icon. Show which combinations you support, including an icon-only button with an accessible name where needed.
Document accessibility in the component and the flow
For each component, document its native control or HTML element, keyboard behavior, screen-reader output and contrast for each theme. Recheck them in the places the component is used. A focus indicator can pass a component demo yet be hidden by a sticky header in a real screen.
The W3C's WCAG 2.2 provides checks that belong at both levels. At level AA, Target Size (Minimum) uses a 24 by 24 CSS pixel threshold with named exceptions, including spacing between targets. Focus Not Obscured (Minimum) requires that author-created content leave at least some of the focused component visible. Redundant Entry at level A addresses repeat entry in the same process and has exceptions. Document how controls and full flows meet the criteria that apply. Our WCAG 2.2 AA checklist covers the wider review.
Keep design, code and documentation on the same version
Before a release, compare component names, properties and states in design and code. Give the release a version and a changelog so teams can tell which changes they are adopting. Keep the documentation with the code or in the same release process so changes reach both places.
A tool such as Storybook can present coded components in isolation with their states. Compare screenshots during review to catch visual changes, then test the relevant behavior in the product. A component page should show where to use the component, its properties and states, keyboard and screen-reader behavior, advice on labels and messages, and a code example from a real workflow. Document recurring tasks as patterns when the decision spans several controls.
Give teams a path to contribute and retire components
Name the person responsible for the system and publish how a team requests a change, when it can expect a response, and how maintainers review the request. A predictable response helps teams wait for a shared change when building another version would add work for everyone.
How a new component enters the system
- RequestDescribe the use case and check for an existing component
- ReviewDecide whether to reuse, extend or build a component
- BuildDesign and code the component together with its states and accessibility behavior
- DocumentPublish usage guidance, examples and the changelog entry
- ReleasePublish a version that teams can adopt on an agreed schedule
When retiring a component, mark it as deprecated in the library and code, point to its replacement and give teams an expected removal date. Mark the corresponding token with $deprecated if that token will also be retired. Review adoption with product leads each quarter. Count how many screens use library components, which components designers frequently detach, and how long requests wait. Contact the teams involved to check whether they need a missing state, an extra property or clearer guidance.
Confirm the requirements for public-sector work
Ask which published system applies, which version the project must support, and whether the contract requires its components, styles or guidance. Agree on permitted brand adjustments and who approves them. Confirm the accessibility target and languages, and test reading direction and assistive technology against project requirements. Account for the cost of testing and maintaining adaptations when the upstream system changes.
Before commissioning the work, ask to see the token structure, a component with its documented states and a recent release that shows how design and code stay aligned. Confirm the build output, theme and language coverage, and who will own the system and handle contributions after delivery. A small first release in a real product flow gives the team an opportunity to check whether the library saves work before expanding it.
Our design system work covers inventories, tokens, reusable components and accessibility guidance. If you are reviewing an existing library, describe the components or flows that are difficult to maintain on our contact page.
Questions buyers ask
When is a product big enough for a design system?
A small team can keep a shared design library and stylesheet as long as they cover its recurring decisions. Add component documentation and designated owners when more teams reuse the same controls or need to support different themes, scripts or reading directions.
What status does the DTCG format have?
The Design Tokens Format Module 2025.10 is the Design Tokens Community Group's first stable release. It is a Final Community Group Report. A W3C Recommendation follows a separate standards process. Check that your design and build tools support the token types you need.
Where should the design system live?
Keep one authoritative set of token values. Designers can use those values through a Figma library, and developers can use them in coded components. Match component names, properties and states, and publish versions that both groups can identify.
When does a public-sector project have to use a published design system?
That depends on the project terms and applicable accessibility requirements. Confirm the required version, whether use of the published components is mandatory, what adaptations are permitted and how the result will be tested.