What a design system contains
A system has three layers. The foundation holds the tokens: named values for color, type size, spacing, radius and motion. The middle layer holds components built from those tokens, such as buttons, inputs, tables, tabs and dialogs, each with its states: default, hover, focus, disabled, error and loading. The top layer holds patterns, which are the combinations you repeat, like a search-and-filter bar or a multi-step form.
Tokens are the part most teams skip and later regret. When a brand color is a named token rather than a hex code pasted in forty places, a rebrand or a dark theme becomes a configuration change. We define tokens in Figma variables and export the same values as code, so design and development read from one source. Components are then built in your front-end stack, whether React, Vue or Flutter, and documented in a browsable catalogue.
