Google Stitch
Google Stitch (stitch.withgoogle.com) is the origin of the open DESIGN.md specification (google-labs-code/design.md). Because Stitch runs in the browser and does not automatically inspect your local git repository, the fastest workflow is to export a Stitch-formatted DESIGN.md (or token-backed AI prompt) from DesignMD Pro and supply it when generating or restyling screens.
Step 1: Export a Stitch-ready DESIGN.md from DesignMD Pro
Browse DesignMD Pro Discovery and open any website whose visual system you want to use as a baseline.
On the right-hand Use this design card:
- Select the Stitch tab.
- Click Copy to copy the full
DESIGN.mdwrapped with an explicit instruction telling Google Stitch to match every color, typography rule, spacing value, radius, and component style. - Or click the Download icon next to it to save a clean
DESIGN.mdfile ready for attachment or repository handoff.

If you prefer a compact, token-focused brief instead of the full specification, scroll down to the AI prompt section on the same detail page and click Copy prompt, or open it in the v0 Prompt Generator to edit tokens before pasting.

Step 2: Apply DESIGN.md inside Google Stitch
Option A: Paste the Stitch export directly into your project prompt
- Open Google Stitch and create a new Web or Mobile project.
- Paste the Stitch-formatted
DESIGN.mdblock from Step 1 at the top of your prompt (or attach the downloadedDESIGN.mdfile to your workspace context). - Append the exact screen layout, sections, and real copy you want generated beneath the specification.
Option B: Validate before sharing across design and engineering
If you customize the downloaded DESIGN.md (for example, swapping brand accents or adding dark-mode tokens), run the official Google Labs linter before pasting back into Stitch or handing off to engineering:
npx --yes @google/design.md lint DESIGN.mdYou can also check YAML syntax, {token} references, and WCAG contrast pairs locally in your browser with the DesignMD Pro Validator.
Option C: Hand off Stitch screens into a codebase with the same DESIGN.md
When exporting HTML/CSS or React code from Google Stitch into a git repository:
- Commit the exact same
DESIGN.mdfile at the repository root. - Generate matching CSS variables with the Tailwind v4 Theme Generator or shadcn/ui Theme Generator.
- Wire your coding agent (Claude Code, Cursor, or Kiro) to that root
DESIGN.mdso follow-up engineering changes stay visually consistent with the Stitch mockups.
Step 3: Prompt templates for Google Stitch
Multi-section SaaS landing page
[Paste the Stitch-formatted DESIGN.md from DesignMD Pro here]
Design a desktop web landing page (1440px) for an API observability product:
1. Top navigation bar: monochrome brand wordmark, 4 links (Product, Docs, Pricing, Changelog), ghost Sign In link, and one solid primary CTA button
2. Hero section: crisp headline, concise 2-line description, primary CTA + secondary outline CTA, and a clean live-metrics preview card below
3. Three-column feature grid separated by 1px hairline borders on surface cards (no heavy drop shadows)
4. Compact three-tier pricing row and minimal footer
Use only the palette, font hierarchy, border radii, and spacing defined above.Multi-screen product flow (consistency across screens)
[Paste the Stitch-formatted DESIGN.md from DesignMD Pro here]
Generate a 3-screen web app flow with identical sidebar chrome, header height,
typography scale, and button styling across all screens:
- Screen 1: Team Overview with 4 KPI stat cards (tabular numerals) and an activity feed table
- Screen 2: API Keys management view with masked key rows, copy action, and a primary "Create key" modal trigger
- Screen 3: Billing & Usage screen showing current plan badge, seat usage bar, and invoice history tableRestyling an existing Stitch screen
Keep the current layout and content hierarchy of this screen unchanged, but
re-theme all surfaces, borders, typography, button states, and corner radii to
strictly match this DESIGN.md:
[Paste the Stitch-formatted DESIGN.md here]Connect DesignMD Pro via MCP for agent-assisted Stitch workflows
If you pair Google Stitch with local coding agents (such as Claude Code, Cursor, Codex, or Windsurf) or use MCP-driven Stitch skills to sync DESIGN.md files between Stitch designs and a codebase, connect your agent to the hosted DesignMD Pro MCP server at https://designmdpro.app/mcp.
Visit the DesignMD Pro MCP Server page for copy-paste client configs, anonymous vs. Pro access tiers, and the four read-only tools (search_websites, get_design_md, list_revisions, and extract-color-palette).

Common pitfalls
- Describing vague aesthetics alongside
DESIGN.md: adding conflicting adjectives like “modern glassmorphism” or “playful neon gradients” overrides the concrete tokens inDESIGN.md. Let the token values andDo's and Don'tsgovern style while your prompt specifies layout and content. - Skipping dark-mode tokens before requesting dark screens: if your
DESIGN.mdonly defines light-mode colors, Stitch has to guess dark surfaces. Populatecolors.dark.*first or pick a dark-mode reference from Discovery. - Losing consistency across separate Stitch generations: when starting a new screen in a fresh prompt, re-attach or paste the same
DESIGN.mdrather than relying on memory from earlier variations.
Next steps
- MCP Server Setup — connect agents to
https://designmdpro.app/mcp - Frontmatter & Structure — understand every YAML key and the 10 prose sections of
DESIGN.md - DesignMD Pro Validator — verify syntax and WCAG contrast in your browser
- Vercel v0 and Bolt — browser-based full-stack and React UI workflows