design.md
design.md
This guide explains how to use Ant Design's design.md to help AI design tools understand Ant Design's visual language.
design.md is a design-language description file for AI design tools, conformant with the google-labs-code/design.md format.
It describes the visual language, component archetypes, and theme tokens of Ant Design's default light theme, helping AI design tools such as Figma Make and Stitch generate interfaces that better match the Ant Design system.
AI tools can read it directly:
https://ant.design/design.md
You can use this prompt in AI design tools:
Read https://ant.design/design.md and generate UI following Ant Design's visual language.
If a tool cannot read URLs directly, you can get the same content through @ant-design/cli:
antd design.md
Common options:
antd design.md --format json # JSON format outputantd design.md --lang zh # Chinese descriptions
design.md includes:
ConfigProvider.theme, algorithm composition, component tokens, cssVar, and zeroRuntime.