İçeriğe geç
wedevit

November 15, 2026 · 9 min read · software

İlhan Buğra Aslan

Every screen looks different: when is a design system worth building?


When every screen looks slightly different, what you are missing is shared code, not a style guide. A design system has three parts: tokens that hold decisions like colour, spacing and type in one place, shared components that consume those tokens, and a rule that says who may change either one and when. Two questions settle the timing. Is the same interface decision being made separately on more than one surface, say the product, the admin tool and the marketing site? Are more than two people touching the interface? If both answers are yes, you are already paying for a design system, just in scattered form. If both are no, a token file, eight to ten shared components and a single page of rules will carry most teams through the next year.

Count the variants before you debate the system

Whether to build a design system sounds like a matter of taste, but it resolves into a count. Measure three things in the codebase: how many separate primary button definitions exist, how many "are you sure" dialogs were written by hand, and how many unique colour values appear. The third number tends to be the one that ends the argument. Deduplicate the raw colour values in your stylesheets and components; a product whose design has seven colours routinely turns out to have forty-something in code. The difference is grey, picked by eye, late at night.

The bill for this never arrives as a single line item, which is why nobody argues about it. A developer opening a new screen re-decides spacing and shadow, which costs half an hour. A designer reviews that decision again, which costs an hour. An accessibility fix, say making the focus ring visible, lands on one component and is forgotten on the other four. Six months later, changing the brand colour is not a one-value edit but a hunt across forty files.

Tokens and the two levels of naming

A token is a design decision in machine-readable form: the hex for blue, a heading size, a corner radius, a shadow. The hard part is not the file format, it is the naming. Keep two levels. The lower level carries raw values, like color-blue-600. The upper level carries intent, like color-action-background. Components only ever reference the upper level.

That split makes every request that arrives later cheaper. Dark mode, a high-contrast setting, a colour scheme for one enterprise customer: all three change only the mapping, and component code stays where it is. If white-label themes or customer-specific branding are even a possibility, build this layer on day one, because retrofitting it means opening every component again.

The format question now has a common answer. The Design Tokens Community Group published the first stable version of its JSON interchange format on 28 October 2025, as 2025.10, with reference implementations in Style Dictionary, Tokens Studio and Terrazzo (the announcement). One detail gets misread: this is a Community Group report, not a W3C standard on the recommendation track (Format Module 2025.10). Do not wait for a W3C stamp, look at tool support instead. That is what actually decides whether the format helps you.

On the web, tokens usually come out the other end as CSS variables. Tailwind 4, released on 22 January 2025, made that the default: values defined in the @theme block produce utility classes and are emitted as plain custom properties at the same time (the v4 announcement). Which means the token layer no longer has to become its own infrastructure project before it earns anything.

What belongs in the library, and what does not

The common failure is inflating the library early, on the grounds that something will surely be reused. A component with one caller is not shared, it is just further away. A workable threshold: nothing moves into the library until it is used in three places. By the third use you also know which parameters it genuinely needs, which you cannot know at the first.

The public sector writes this bar down. The GOV.UK Design System lists what a component must satisfy before it is published: it has to be useful to many teams, different from what already exists, tested with a representative sample of users including disabled users, consistent with the system's existing styles and components, and versatile enough to work across different services (contribution criteria). Four of those five are not engineering questions. Admitting a component is a product decision wearing a technical costume.

Be equally disciplined about writing components from scratch. Getting the keyboard and screen reader behaviour right for a dropdown, a date picker, a modal or a tab set takes days. Taking that behaviour from an accessible headless library and dressing it in your own tokens is cheaper and safer for most teams. Reserve hand-written components for the ones that carry your brand or encode something specific to your product.

One direction of sync is enough

Keeping design-tool variables and code in step gets described as a large automation project, but a one-way flow covers most teams: variables are exported from the design tool, written into a token file, and a build step turns that into CSS variables and native equivalents. Copying a hex value by hand should be the only thing left outside the chain.

Before attempting the reverse direction, ask what it buys and for whom. The useful boundary is this: code is the single source for how a component behaves, the design file is the single source for the values it uses. Teams that never draw that line end up in a permanent correction queue where a designer set a gap to 12 pixels and the code still says 16.

Keep the docs where the tests are

Component documentation that lives on a separate wiki page becomes wrong within a few months. A catalogue that renders the component in its working state solves that. Storybook is the common tool here; version 10, released on 28 October 2025, shipped with a single breaking change, going ESM-only, and cut install size by 29% compared with the previous version (the Storybook 10 announcement).

Do not fill the catalogue with happy paths. Show the awkward states: empty, loading, error, overflowing text, long labels in other languages, disabled. Those same states are the raw material for visual regression tests. The moment a token changes and forty screens change with it, you want a diff, not a customer email.

Accessibility checks belong at the component level too. Contrast, focus visibility and keyboard order fixed once in a shared component fix every screen that uses it. That is the highest-leverage part of WCAG work and far cheaper than auditing screen by screen.

A component library is an API, so version it

Being internal does not make it less of a contract. The props a component accepts need versioning and breaking-change notices in the same way an API contract does. Three things cover it: meaningful version numbers, a changelog, and a deprecation window for props you plan to remove. Write a codemod when you can; changes announced as "please update this prop by hand" stay un-updated in half the codebase for years.

Teams with a single product do not need a separate package registry, a workspace package in the same repository is fine. The line that matters is different: if a consuming team has copied the library to make its own version, the system has failed socially rather than technically. Find out why they forked. It is usually a missing prop or a request that went unanswered.

An unadopted system is just more technical debt

Success is measured by usage, not by the number of components. Two numbers suffice: what share of screens use shared components, and how many local style overrides exist outside the library. For the second, a lint rule that blocks raw colour values gives you measurement and enforcement in one move.

Write down the contribution path as well: where a request for a new component goes, who decides, and how fast an answer comes back. A developer whose request sits unanswered for two weeks will write their own version, and they will be right to. A library with no owner becomes a fresh line item of technical debt within six months, because now the old way and the new way are both alive.

When not to build one

If the product has not settled, there is one surface, and one or two people touch the interface, a full system is premature. For a first release, a token file, eight to ten shared components and a one-page rule are enough. There is one more thing a design system will not do for you: if the team has no agreement on its design language, a system moves that disagreement into code rather than resolving it. A library built while three people defend three different button hierarchies starts life with three kinds of button.

A concrete two-week start: inventory the existing button, form field and dialog variants, define an intent-named token set, move the eight most-repeated components into a shared place, and write the contribution rule on one page with a named owner. Do not start on the ninth component until those four are done. If you want a second pair of eyes on the inventory and on where to start, an hour on a call usually settles it.


Need help with this topic?

get in touch →← all posts