Rost
Design system

Rost

Rost started as a design system for my own needs and grew into a product of its own. Today it serves products across different industries.

Rost is the Romanian word for purpose or order, in the sense that something is where it belongs.

26contracts
25built in code
146variants
304tokens

How it works

  1. A contractStepYAML

    Each component is one YAML file: its parts, its tokens, every variant, how to use it, and where my apps build it. It's the source. Figma was where it started.

  2. Code from the contractStepCSS and React

    The CSS is written straight from the contract, so nobody types a colour by hand. The React component follows the same parts.

  3. Checked against FigmaStepVisual test

    Each variant of a built component is rendered in Chrome and compared with Figma's own screenshot. A wrong colour or a missing icon fails it. Text edges get a little slack, because Figma and Chrome never draw them quite the same.

Components

25 of them are in code so far, and their cards show the real thing. The rest are contracts, and they come next, one at a time.

Components

Patterns

Effects

Foundations