Back to the overview
DESIGNOPS · PILOT

A design system for AI

An open design system architecture: it lives in a repository and design, front-end and AI agents consume it the same way. Tested in a pilot with the app team.

Role
Author and Design Ops lead: I conceived the architecture and built it on my own
Status
Architecture defined and tested; in use in a pilot with the app team
Period
2026: from the summer, 4–5 months
Stack
Figma (tokens and variables), repository (GitHub, Bitbucket or other), React, Storybook, JSON for CMSs such as Storyblok and a Figma plugin
Architecture diagram: a repository as the single source of truth, with the Figma library, the npm package and Storybook, the MCP server, Storyblok, the system portal and the contribution flow connected to it

Use and results

  • 4–5 monthsfrom the summer of 2026: from the architecture to the pilot with the app team.
  • 300+design variables in 4 collections of the app UI kit, exported by a plugin to formats the front-end consumes.
  • 4people in the pilot: Design Ops, the app designer and two front-end developers.

Why I started it

I started it from my own experience. In many organisations the design system lives in Figma, and that limits it: only people with a licence can consume it and it is not an open format. I saw front-end developers without Dev Mode access, because of licence costs, end up inventing measurements and colours, with no consistency or connection to what was designed. Behind that is a deeper disconnect between teams: a design system is read as styles and recommendations, not as tokens and contracts.

My hypothesis was that a modern workflow needs open standards. Anyone in design, development or branding should be able to consume the system from their own stack, and AI should also be able to read the available tokens, contracts and components to generate designs under predefined business rules. It had never been tried because no technology made it this simple.

What I built

A decentralised design system that design, development and AI teams can consume regardless of the tools or models they use. The code lives in a repository, whether GitHub, Bitbucket or another. The system is made of:

  • Tokens, primitive and semantic.
  • Component contracts, at a functional level: behaviour, properties and design.
  • React components and their twins in Figma.
  • Storybook, to view them.
  • JSON, for CMSs such as Storyblok to consume.

The full architecture, as the diagram shows, adds an MCP server so AI agents can read contracts, tokens and rules, a system portal and a contribution flow by branch and pull request. It is not only a design system: it is a governance model, a visualisation portal and a way of working centred on the components of the UI kit and on tokens. I also built a Figma plugin that, while the components do not yet live in the repository, exports tokens and contracts to React components.

Key decisions

Decision 01

The repository, not Figma, as the source of truth

Situation
Figma is a proprietary format: only people with a licence can consume it. It is open to AI through MCP, but that leaves everything the AI extracts open to interpretation.
Alternatives
Keep the system in Figma and expose it with Dev Mode or MCP.
Decision and why
Tokens, contracts, accessibility rules and guidelines live in a repository, in open formats. Figma, React, Storybook, Storyblok and AI agents read from there.
Effect
Any team or agent can consume the system without a licence or a specific tool. In the pilot, until the components live in the repository, a plugin acts as the bridge.
Architecture diagram with the repository at the centre and six destinations: Figma library, npm package and Storybook, MCP server, Storyblok, system portal and contribution flow
The architecture: a single origin that design, front-end, content and AI agents read from, and that people contribute to by branch and pull request.
Decision 02

Sync with plugins and connectors

Situation
Tokens and variables had to stay equal between the system and Figma. Handoff used to feel fast, but afterwards came the questions about margins, paddings and colours, again and again, without ever being quite right.
Alternatives
Pass measurements and colours by hand, or let each team interpret them.
Decision and why
Plugins and connectors that generate the tokens and variables from the system and export them to formats the front-end consumes.
Effect
What is done in Figma and what is seen in the front-end is exactly the same.
Figma variables of the app UI kit in four collections: primitives, colour, interface size and components, with values linked to spacing tokens
App UI kit variables: primitives, colour, interface size and components, with every value linked to a token.
Decision 03

A plugin that watches coherence; people keep the judgement

Situation
In Figma it is easy to step outside the UI kit without meaning to, and those inconsistencies reach the front-end later.
Alternatives
Review the use of the system by hand, component by component.
Decision and why
A plugin checks that the tokens and components generated in Figma are not orphaned, and documents the handoff. Design decisions and the evolution of the system stay in people’s hands, with a contribution flow to bring needs to the design council.
Effect
Leaving the UI kit is avoided, and so are future inconsistencies in the front-end.
Figma documentation page for an actions component, with the contract, light and dark modes, properties and implementation annotations with their tokens
Component documentation: contract, modes, properties and anatomy, with implementation annotations generated by the plugin.

How I tested it

I tested it in a pilot with the app UI kit, with a limited scope. Four people took part: me, as Design Ops lead, the app designer and two front-end developers. Because the components do not yet live in a repository, tokens and contracts are in Figma and the plugin exports them to formats the front-end consumes. I iterated on the component structure in JSON and on how the design is structured in Figma to make it easier to implement. The most important thing was to define containers and content as the base element for building screens, and from them, journeys. Everything is confirmed and works.

What worked and what did not

  • Worked: the handoff. What is designed in Figma and what is implemented in the front-end are the same, and the questions about margins, paddings and colours have stopped repeating.
  • Worked: the hypothesis. With AI it is possible to build a project of this scale with few resources, improve a workflow that is disconnected today and be ready for future redesigns, because changing tokens and contracts in the repository would allow a whole website to be redesigned, something that takes months today.
  • What I would do differently: nothing. It is a learning process, and the second UI kit will surely be easier to implement.

What comes next

The idea is to move the system to a repository after the pilot and apply it to other UI kits, such as those of My Sunrise and Sunrise Rewards.