Skip to content
Submit an app

How to Build a Design System for an Indie App

Build a design system from scratch: audit one workflow, define shared tokens, build reusable components, test their states and document when to use them.

Editorial illustration of forest, sage and lime swatches arranged with simple component shapes.

To build a design system from scratch, finish one real workflow with shared decisions and reusable components. Work through these five steps:

  1. Audit one workflow. Collect its screens and identify repeated actions, content and states.
  2. Define tokens. Name the roles for color, typography and spacing in shared code.
  3. Build repeated components. Start with the action and layout you use most, using native links and buttons.
  4. Check behavior. Test keyboard focus, empty and error states, long text and mobile layouts.
  5. Document usage. Record each component’s purpose, markup, states and when to use it.

Use the first workflow to check the system before adding more components.

This guide uses Design Build Launch as a worked example. The forest colors, action styling and informational tags come from this website. The code below is a reduced teaching example, rather than a claim that every production rule appears in one tidy stylesheet.

Start with a real task and a small interface audit

Pick one journey that already matters. For this directory, a reader finds an app, opens its profile and follows the website or store link. The repeated parts are straightforward: an app icon, title, description, platform label and action.

Collect examples from two or three screens. Write down what varies and whether that variation serves a purpose. A larger profile icon can help establish hierarchy. Four slightly different greens for the same primary action are more likely accidental.

Record the job of each element before naming its style:

  • Primary action: the next useful navigation or operation.
  • Supporting text: an explanation or material limitation.
  • Tag: information such as a category or platform.
  • Filter: a control that changes the results.
  • Empty state: what is missing and how someone can make progress.

A tag and a filter may look related, but they need different behavior. The category tags in this directory are plain list items. A filter is a link with a destination and a selected state. Turning every label into a button would change the experience, not merely standardize its appearance.

If the journey itself is uncertain, test a functional app prototype first. A component library cannot resolve whether the product solves the right task.

Turn repeated decisions into named tokens

A design token gives a recurring decision a name. Start with roles you can explain, rather than copying every color from a screenshot. In this directory, paper is the page surface, ink carries the main text and actions, and soft ink supports descriptions.

.directory-shell {
  --d-paper: #f8f9f6;
  --d-ink: #18382e;
  --d-soft: #51645b;
  --d-line: #d8ded6;
  --d-lime: #d9f279;
  background: var(--d-paper);
  color: var(--d-ink);
}

These are actual color values from the site. The names describe their roles; they do not mean every foreground works on every background. The pale line color is useful for quiet separators, for example, but should not become the only visible boundary of an important control without checking its contrast.

CSS custom properties inherit through the element tree and follow the cascade. The MDN custom-property guide explains how declarations and var() references work. Here the properties are scoped to the directory shell; they are not automatically available to unrelated parts of a site.

Keep the first typography and spacing decisions equally modest. This site uses Archivo for headings and Manrope for reading and utility text. Its regular button has a 48-pixel minimum height, 15-by-23-pixel padding and a 5-pixel corner radius. Those are concrete component decisions, not proof that the entire layout follows a strict spacing scale.

For your own app, define a few named roles such as page title, section heading, body and label. Check real long titles and descriptions before locking them in. A font sample with a short word does not tell you how a product name will wrap on a phone.

Build components with a clear behavior contract

Start with the two or three components that actually repeat. A primary action and an app row are more useful here than a large set of speculative variants.

Use native semantics. A link takes someone to another location; a button performs an action. Styling an anchor as a prominent action does not turn it into a button, and adding role="button" to a generic element does not supply keyboard behavior. The W3C ARIA guidance explains that responsibility.

This reduced CSS uses the directory’s current action values:

.d-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 23px;
  border: 0;
  border-radius: 5px;
  background: var(--d-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
}

.d-button:hover { background: #2f5543; }

For navigation, pair it with a real destination:

<a class="d-button" href="/apps">Discover apps</a>

Document the states alongside the default appearance:

  • Default: the label identifies the destination or action.
  • Hover: the fill changes without moving nearby content.
  • Keyboard focus: a visible ring remains distinguishable from the surrounding surface.
  • Unavailable: a native disabled button has an explanation; a link does not become disabled through color alone.
  • Pending, failed and completed: an asynchronous action preserves input, explains the result and provides recovery where needed.

The last group is a requirement to design for an asynchronous component, not a claim that every directory link has a loading state. Do not add a spinner to ordinary navigation just to make the component specification look complete.

The app row is one link containing an icon, text and informational tags. Keep interactive controls out of that link. If a tag later needs to filter the directory, give the filter its own destination and hit area rather than nesting one interaction inside another.

Check the system with real content and keyboard use

Static color calculations help catch mistakes early. Using the opaque colors above, forest ink on paper is about 12.09:1, supporting text on paper is 5.98:1, and white on the primary action is 12.77:1. These are checks of specific pairs, not a rendered-page accessibility audit.

The WCAG text-contrast guidance calls for at least 4.5:1 for ordinary text and 3:1 for qualifying large text, with stated exceptions. A small platform tag needs the ordinary-text threshold even if it feels like secondary UI.

Focus needs its own background check. The directory’s green focus color has about 5.80:1 contrast against paper but only 2.09:1 against the dark forest field. A lime ring is used for actions inside the dark maker panel. Copying a single green outline everywhere would miss that contextual difference. See non-text contrast and visible focus.

Run a short, repeatable check on the actual screens:

  1. Use the keyboard to reach each action and confirm its destination or result.
  2. Check that focus is visible, unclipped and understandable on every surface.
  3. Try a long app name, a missing image, an empty result and an unavailable action.
  4. Increase text size and narrow the viewport; check reading order, wrapping and overflow.
  5. Confirm that the visible label and accessible name still describe the same task.

Touch size, spacing, reading order and recovery matter too. WCAG’s target-size guidance sets a 24-by-24 CSS pixel minimum with exceptions; it is a floor, not a reason to shrink a useful 48-pixel action. A color-pair pass does not establish that these other requirements are satisfied.

Use genuine product captures for visual review. If the screen is missing, preserve a readable text layout instead of inventing interface imagery. For illustration choices around the system, compare the SVG illustration libraries and keep artwork secondary to the task.

Document decisions where you maintain the app

The first design-system document can live in the repository. For each shared component, record its purpose, markup, variants, states, content rules and known limits. Include an example with realistic text, not just a component name and a color swatch.

Keep a small change routine:

  • Change the shared decision once, then inspect the screens that use it.
  • Add a variant when a repeated need is clear; avoid a new boolean prop for every one-off exception.
  • Keep documentation and implementation in the same review when behavior changes.
  • Recheck contrast and layout when a token changes, even if the new color looks similar.
  • Remove a variant when nothing uses it.

Tools can help once the library grows. Storybook stories can describe component states in isolation; a small app can also begin with a maintained example page and a clear document. Choose the smallest arrangement you can keep accurate.

For a first pass, finish one real journey with shared colors, readable type, consistent actions, explicit states and a short record of the decisions. Then use the app submission guide to prepare the real product copy, imagery and links you will share outside the app.

One navigation action

Discover apps

Two informational labels

  • Health & fitness
  • iOS
Live components from this directory. The action opens the app index; the category and platform tags are labels.

Reviewed and updated by Design Build Launch. Discover independent apps or submit yours.