Skip to main content
Open source · MIT

Design Delta

Checks every component's code and its Figma design against one written contract, and reports where they disagree.

When

2026 – Present

Technologies

Node.js • Design Tokens • Figma

Design Delta is an open-source command-line tool for design systems. Each component gets a contract, a JSON file listing its props, its parts and the design tokens they use. The tool reads the code and the Figma library and reports every place either one disagrees with the contract.

This site runs it in CI. A pull request that breaks a contract fails its build.

Install from npm

View the code on GitHub

Install

npm install --save-dev design-delta
npx design-delta init

init writes a design-delta.json config. npx design-delta verify then runs the checks and exits non-zero on an error, which is what a CI step needs.

Decisions behind it

The contract is the source of truth. The tool never compares the design to the code directly. It compares each one to the contract, so a finding always says which side moved.

The same input gives the same report. No model reads the code, and no tolerance setting decides what counts as close enough.

Figma is one provider. The engine knows nothing about Figma. A design tool plugs in behind a small interface, and Figma is the first one written.

An audit only reports. It never edits the code, the tokens or the Figma file. Fixing a finding stays a decision a person or an agent makes.

Contact

Building a design system? Let's talk.

Start a conversation