How to Write a DESIGN.md: the Complete Spec Guide

DESIGN.md is a plain-text file that travels with your code. It holds design tokens in YAML frontmatter and design rationale in Markdown prose. This guide covers every section of the @google/design.md 0.3.0 spec: token types, reference syntax, linting rules, and the canonical section order that validators enforce.

Upload a DESIGN.md and see your brand guideline rendered instantly.Open the tool