Ant Design

Add to your project

DESIGN.md encodes Ant Design's visual language for AI coding tools. Add it to your project so Claude Code, Cursor, or any agent that reads files can reference it directly.

Quick start

Fetch /raw/design-systems/ant-design/design-md/DESIGN.md and use it as the design foundation for this project.

Overview

Ant Design is a design system created by Ant Financial's User-Experience Design Team for enterprise products. It is the dominant design system in the Chinese tech ecosystem and widely used in enterprise B2B applications globally. The system prioritizes efficiency, consistency, and certainty over expressiveness — it is designed to help users complete tasks quickly and reliably in complex data-heavy applications.

Ant Design's defining characteristics compared to other systems in this KB:

  • Design Values as first-class documentation: Four named values (Natural, Certain, Meaningful, Growing) explicitly govern every design decision. This is unusual — most systems document what but not why.
  • Restrained color philosophy: Color is a tool for information delivery, not identity. The system discourages decorative color use and explicitly instructs designers to be "restrained" with color in enterprise contexts.
  • Three-layer algorithmic token architecture: Seed Tokens → Map Tokens → Alias Tokens. A single seed token change (colorPrimary) generates dozens of derivative tokens algorithmically — a more automated approach than Material's manual token vocabulary or Carbon's two-tier system.
  • Chinese/CJK typography considerations: Documentation acknowledges CJK character considerations in font stack selection and typography scale decisions.
  • Component density modes: compactAlgorithm provides a built-in compact layout preset — not a design variable but an algorithm that recalculates all control heights and spacing proportionally.

When to reference this system:

  • Enterprise B2B / back-office application design
  • Reference for algorithmic token derivation (seed → derivative pattern)
  • Reference for design values as governance document structure
  • Applications needing programmatic theme generation from a brand color

When not to use as primary reference:

  • Consumer-facing or expressive product design where color and personality matter
  • Non-React implementations (Ant Design is React-first, though community ports exist)

Sources

Content typeSourceURL
Design values / introductionant.design/docs/spechttps://ant.design/docs/spec/introduce
Color systemant.design/docs/spechttps://ant.design/docs/spec/colors
Typographyant.design/docs/spechttps://ant.design/docs/spec/font
Design token systemant.design/docs/reacthttps://ant.design/docs/react/customize-theme
Theme editorant.design/theme-editorhttps://ant.design/theme-editor

Scrape notes: ant.design renders server-side — WebFetch retrieves content successfully. Typography page is at /docs/spec/font (not /docs/spec/typography); design token page is at /docs/react/customize-theme (not /docs/react/design-token).