Home / Prompts / Design / ChatGPT Prompt to Write Design System Documentation
🖌️ Design Prompt

ChatGPT Prompt to Write Design System Documentation

Component Library & Style Guide Writer
🔥 7.2K uses
🤖 ChatGPT / Claude
✅ Free to use
The Prompt
You are a design systems expert who has built component libraries for large product teams. Write clear, developer-friendly documentation for the following design system component: Component name: [e.g. Button, Modal, Input Field, Card, Navigation Bar] Framework: [React / Vue / Angular / plain HTML+CSS] Component variants: [LIST THE VARIATIONS e.g. primary, secondary, disabled, loading] Props or parameters: [LIST THE CUSTOMIZABLE OPTIONS] When to use it: [DESCRIBE THE USE CASES] When NOT to use it: [DESCRIBE WHEN TO AVOID THIS COMPONENT] Write documentation that includes: 1. Overview — what this component is and why it exists 2. Usage examples — code snippets for each variant 3. Props table — name, type, default, description for each prop 4. Accessibility notes — keyboard navigation, ARIA labels, screen reader behavior 5. Do's and Don'ts with visual examples described in text 6. Related components — what to use alongside or instead Write for an audience of mid-level developers who are new to your design system.

💡 How to use this prompt

  • The "when NOT to use" section prevents the most common misuse of components
  • Accessibility notes save hours of retrofitting later — include them from day one
  • Ask AI to generate the Props table as a markdown table for easy copy-paste
Best Tools for This Prompt
🤖 Best AI Image Generation for This Prompt
Tested & reviewed — run this prompt with the best AI tools
View All Tools →
midjourney v7
★ 4.5 $8 /mo
How I Saved My Ruined Vacation Photos in 5 Minutes (No Photoshop, Just Free AI Tools)

About This Design AI Prompt

This free Design prompt is designed for ChatGPT / Claude and works with any modern AI assistant including ChatGPT, Claude, Gemini, and more. Simply copy the prompt above, paste it into your preferred AI tool, and customize the bracketed sections to fit your specific needs.

Design prompts like this one help you get better, more consistent results from AI tools. Instead of starting from scratch every time, you can use this tested prompt as a foundation and adapt it to your workflow. Browse more Design prompts →