This repository stores the source files for the design system documentation site.
It contains:
- component documentation pages
- component-level images
- component rules
- token files
- foundation pages
- templates for automated documentation generation
- scripts to support Figma export and token synchronization
This repository follows a docs-as-code workflow:
- source files are created or updated locally
- changes are committed to Git
- changes are pushed to GitHub
- Mintlify reads the repository and publishes the documentation site
foundations/→ foundational documentation pagestokens/→ shared design tokenscomponents/→ one folder per componenttemplates/→ reusable documentation templatessnippets/→ reusable MDX or React snippetsscripts/→ automation scripts
Each component folder should contain:
index.mdxcomponent-rules.mdfigma-links.md{component-name}.tsx(optional){component-name}.tokens.json{component-name}.specs.json- local assets such as:
anatomy.pngstates.pngvariants.pngdo-dont.pngexamples.png
Typical workflow for a component:
- define or update the component in Figma
- export or sync tokens
- export visual assets such as anatomy and states
- generate or update
index.mdx - review content
- commit and push changes
- Mintlify publishes the updated page
Claude Code is used to:
- create component folders
- generate
index.mdx - generate starter rules
- use Figma MCP tools when available
- update component documentation from structured sources
- folders: lowercase kebab-case
- images: lowercase kebab-case
- one main page per component:
index.mdx
This repository is intended to become the long-term source of truth for the design system documentation.