← All projects
Project record1 mention
Originally shared on Hacker News

Milda

Milda is a platform-neutral language for design systems in which the whole system is a single document, with typed, layered tokens that can take different values per context (e.g. light/dark) and components defined by a contract (props, events) and an anatomy. The document can be written by hand or in a visual editor, and the aim is for it to compile to artifacts such as React component libraries or Figma files. The language, parser, IR and first generator (React) are open source.

Last shared For Design system maintainers
01 / The problem

What it addresses

Design systems live in several places at once — design in Figma, tokens in another service, documentation elsewhere, code in the repo — so even mature systems drift because several teams handle the same abstractions differently.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Milda

    Milda is a platform-neutral language for design systems in which the whole system is a single document, with typed, layered tokens that can take different values per context (e.g. light/dark) and components defined by a contract (props, events) and an anatomy. The document can be written by hand or in a visual editor, and the aim is for it to compile to artifacts such as React component libraries or Figma files. The language, parser, IR and first generator (React) are open source.

    Problem: Design systems live in several places at once — design in Figma, tokens in another service, documentation elsewhere, code in the repo — so even mature systems drift because several teams handle the same abstractions differently.

    Audience: Design system maintainers

    Posted by @violapeter · Original source ↗

    Story title · @violapeter · · Source ↗

    Show HN: A platform-neutral language for design systems

    Submitted URL · @violapeter · · Source ↗

    https://play.milda.dev

    Source text · @violapeter · · Source ↗

    In Milda, the system is a single document. Tokens are typed and layered, and they can take a different value per context (light and dark, for example). A component has a contract (props, events) and an anatomy.

    Source text · @violapeter · · Source ↗

    You can write the document by hand or build it in a visual editor. The part that may get really interesting later: the document will be able to compile to the artifacts you already use, whether that’s a React component library or a Figma file.

    Source text · @violapeter · · Source ↗

    The language, the parser, the IR and the first generator (React) are open source.

    Source text · @violapeter · · Source ↗

    a design system lives in several places at once. The design is in Figma, the tokens are in another service, the documentation in a third, the code in the repo, and so on. Even the most mature design systems drift, because several teams handle the same abstractions, each a little differently.

    Source text · @violapeter · · Source ↗

    What I’d most like to know: if you maintain a design system, where would this model break on yours?