# What is a Design System? > A design system is the shared set of tokens, components, rules and documentation a team uses to build a product consistently across design and code. - Source: https://flashdsm.com/glossary/design-system - Site: Flash DS (https://flashdsm.com) - Updated: 2026-08-06 --- ## Definition A design system is the shared set of design decisions, components and rules that a team uses to build a product consistently. It typically includes design tokens, a component library, usage guidelines and documentation, maintained as a single source of truth for both design and code. ## What it is made of Most working design systems have four layers, and the ones that fail are usually missing the first. **Design tokens** - the named values underneath everything: colour, type, spacing, radius, shadow, motion. **Components** - the reusable pieces, built to reference tokens rather than hardcoded values. A button, a form field, a modal. **Guidelines** - when to use which component, how to write for it, what accessibility requires. **Documentation** - the readable surface where people find all of it. ## What it is not **Not a component library.** A library is one layer. A design system without tokens gives you consistent components sitting on inconsistent values. **Not a Figma file.** A Figma file is one representation of it. If the code does not reference the same decisions, you have two design systems that happen to look similar. **Not documentation.** Documentation describes the system. Teams that start with a documentation site before deciding the tokens have written a description of nothing. ## Why they drift A design system's failure mode is not collapse, it is erosion. Nobody decides to abandon it. Values just accumulate outside it: - A designer needs a colour that is not in the palette and picks one in the file. - An engineer under deadline writes `padding: 14px` instead of adding a spacing step. - An AI coding assistant generates a component with invented hex codes, because it has no way to read the system. Each is individually defensible. Collectively they produce a codebase with several parallel design systems that nobody chose to create. The counter is not discipline, which does not scale. It is making the system the path of least resistance: available in every tool that consumes it, in the format that tool expects, without a manual step. ## How long they take to build Hand-built, a first coherent system is usually days to weeks of work - not because any single decision is hard, but because there are hundreds of them and they interact. Colour scales that hold contrast at every pairing, a dark mode that is not an inversion, semantic naming that survives a rebrand. ## Where this fits with Flash DS Flash DS generates the token layer and component specifications from a prompt, a URL, a Figma file or a screenshot, then keeps them synchronized with code, Figma and AI coding agents. ## Related terms - https://flashdsm.com/glossary/design-token - https://flashdsm.com/glossary/semantic-token - https://flashdsm.com/glossary/token-drift