Skip to main content
A DESIGN.md file tells an AI tool how your website should look. It lists the colors, fonts, spacing and button styles your website should use, all in one simple text file. When you give it to an AI such as Claude, ChatGPT or Cursor, the AI follows your design instead of guessing, so every page it builds looks like it belongs to the same brand. This page explains what a DESIGN.md file is, how to get one from Pagifye, and how to use it in the AI tool you already use.

What Is a DESIGN.md File?

Think of DESIGN.md as a style guide written for AI. It’s a normal Markdown file (a plain text file that ends in .md) that follows Google’s open DESIGN.md standard. Anyone can open it in a text editor and read it. A DESIGN.md file usually covers:
  • Colors: your background, text, brand and warning colors, with their exact color codes.
  • Typography: which fonts to use and how big headings and body text should be.
  • Spacing: how much space to leave between things.
  • Rounded corners and borders: how round buttons and cards should be.
  • Shadows: how much depth cards and menus have.
  • Components: how buttons, inputs and cards should look.
  • Do’s and don’ts: simple rules, such as which color to never use for text.
Without a DESIGN.md file, an AI picks its own colors and fonts each time, so your pages can look different from each other. With one, the AI reuses the same values everywhere.

Get a DESIGN.md File from Pagifye

Pagifye has a directory of ready-made DESIGN.md files at pagifye.com/designmd. Some are made by Pagifye and some are open source. Each one is marked Free or Pro.
1

Find a design system

Open pagifye.com/designmd. Type in the Search design systems box, or filter by Categories, Licence (Free or Pro) and Source (Pagifye or Open Source). On a phone, select Filter to see the filters. Select a design system’s card to open its guide.
2

Look through the guide

The guide page shows the design visually: color swatches, font samples, spacing and more. This helps you check that it’s the style you want before you get the file.
3

Sign in and choose a team

Select Log in to get DESIGN.md and sign in, or create a free account. You need to sign in even for free files. If you see Select a team to continue, open your account menu at the top right (the circle with your initials), open Teams and select a team.
4

Download or copy the file

Select Download DESIGN.md to save the file. You’ll see Download started, and the file saves as DESIGN.md, usually in your Downloads folder.Or select Copy DESIGN.md to copy all its text. You’ll see DESIGN.md copied to clipboard. Use this option for Lovable, Bolt and v0, where you paste the text.
Free design systems work on any Pagifye account. Pro design systems are included with every paid Pagifye plan. Access depends on the plan of the team you’ve selected. If a file is Pro and your selected team is on the free plan, you’ll see Upgrade to Pro instead of the download buttons. See Pricing & Packages.
Many guides also have an Example Prompts section with ready-made requests for that design. Select Copy all to copy them (you’ll see Prompt copied), then paste one into your AI tool.

Use DESIGN.md with Your AI Tool

There are two simple ways to use the file:
  • In a chat app (Claude, ChatGPT, Gemini): attach the file, or paste its text, at the start of the chat.
  • In a coding or website builder tool (Claude Code, Cursor, Codex, Lovable, Bolt, v0): save the file in your project, or add it to the tool’s instructions, so the AI reads it every time.
Pick your tool below.
  1. Start a new chat.
  2. Attach your DESIGN.md file with the attach (paperclip or +) button, or paste the text you copied.
  3. Ask for what you want, and tell the AI to follow the file. For example: Build a pricing section for my website. Follow the attached DESIGN.md for all colors, fonts and spacing.
A new chat doesn’t remember files from an old one, so attach the file again each time. Some chat apps let you save files in a project so every chat in it can use them.
Using a different AI tool? Look for a place to add instructions, knowledge or rules, and paste the file there. If you can’t find one, attach or paste the file at the start of your chat.

Try It Out

After you add your DESIGN.md file, try this prompt to check the AI is following it.

Check that your AI follows DESIGN.md

Tips for Better Results

  • Mention the file in your request. A short reminder like follow DESIGN.md helps the AI stick to it.
  • Use one DESIGN.md per project. Mixing two design systems confuses the AI.
  • Check the colors. If something looks off, ask the AI: Which DESIGN.md color did you use here?
  • Pair it with Pagifye components. Use DESIGN.md for the look and Pagifye MCP to bring in ready-made sections.

Troubleshooting

Your account isn’t using a team yet. Open your account menu at the top right (the circle with your initials), open Teams and select a team. Then try again.
This is a Pro design system, and your selected team is on the free plan. Select Upgrade to Pro or View pricing to choose a plan. If another of your teams has a paid plan, switch to it from Teams in your account menu at the top right.
You may see a message such as Failed to copy DesignMd or Failed to create DesignMd download. Refresh the page and try again. If it still fails, contact support.
Make sure the AI can see the file: attach it again in a new chat, or check that it’s in your project’s root folder and mentioned in CLAUDE.md or AGENTS.md. Then remind it in your message: Follow DESIGN.md for every color and font.