Curing ugly AI UIs with Google Stitch's DESIGN.md
AI-generated frontends often look unpolished. By dropping a plain-text DESIGN.md file containing design configs from top websites into your project's root directory, you can guide the AI to quickly generate cohesive, high-end UIs without importing Figma files or writing JSON.
X (Twitter)@Manorgw9likes
Google StitchDESIGN.mdClaudeCursorVercelNotionFigmaLinear
Added 2026-11-14 · originally published 2026-11-13
Key points
- Place the Google Stitch DESIGN.md plain-text file (containing design configs for 73 top websites including Claude, Cursor, Vercel, Notion, Figma, and Linear) in your project root.
- Instruct the AI directly to build the frontend following the style defined in that DESIGN.md file.
- Requires zero configuration, no Figma imports, and no JSON writing—just copy and paste to help the AI generate cohesive, high-end UIs.
Pitfalls
- AI-generated frontend UIs often look amateurish, inconsistent, and miss the mark
.cursorrules
- Always reference the DESIGN.md file in the root directory when building frontend UIs - Keep the UI style consistent with the top-website style defined in DESIGN.md
Copy-ready prompt
Please refer to the DESIGN.md file in the project root directory and write or refine the frontend code for the current interface following the design style of [specified website like Claude / Notion / Linear], ensuring a consistent and polished UI.
#AI Frontend Styling#UI Design#Best Practices#Developer Efficiency
Related techniques
Summarized by AI from the original source - refer to the original post for details. Copyright belongs to the original author.