
Share
Google's decision to open-source DESIGN.md for its AI-driven UI design tool Stitch democratizes access to consistent cross-platform design rules, empowering designers beyond Google’s proprietary ecosystem.
By The Engineer | April 21, 2026
Google Labs has announced that the draft specification for DESIGN.md, a key component of their design tool Stitch, is now open-source. This move allows designers and developers to export and import their design rules across different platforms and tools, ensuring consistency and efficiency in UI development.
Design Rules Export/Import: DESIGN.md allows you to define and document your design system's rules (colors, typography, spacing, etc.) in a structured format.
AI Understanding: By providing clear definitions, DESIGN.md helps AI agents understand the intent behind your design decisions.
---
colors:
primary: "#007bff"
secondary: "#6c757d"
error: "#dc3545"
typography:
family: "Roboto, sans-serif"
sizes:
h1: "2rem"
body: "1rem"
spacing:
small: "8px"
medium: "16px"
large: "24px"
---
# Design System Documentation
## Colors
- Primary: Used for primary actions.
- Secondary: Used for secondary actions and text.
- Error: Used to indicate errors or warnings.
## Typography
- Font Family: Roboto, sans-serif
- Sizes:
- H1: 2rem
- Body: 1rem

## Spacing
- Small: 8px
- Medium: 16px
- Large: 24px
```
To see DESIGN.md in action, check out the latest video by David East from Google Labs. You can also start generating your own files in Stitch or contribute to the project on GitHub.
Tags
Original Sources
About the author
Kai built ML infrastructure at a Bay Area startup before developing an obsession with transformer architectures and inference optimisation that eventually pulled him out of product work entirely. A stint at a compute research lab sharpened his instinct for what actually matters in a model release versus what is marketing. He writes from the inside — from the perspective of someone who has debugged the systems he is describing at three in the morning. He is allergic to hype and instinctively drawn to the unglamorous plumbing questions that everyone else skips over.
More from The Engineer →This Week's Edition
22 April 2026
133 articles
Related Articles
Related Articles
More Stories