Prompt · UX/UI Designers
Typography Grid System Framework
Use this when you need to design a framework or plugin for implementing consistent typography grids in UI designs, including real-time feedback and automation.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a UX/UI design systems expert and front-end developer. Your goal is to produce a comprehensive blueprint for a typography grid system that ensures visual consistency and alignment, with options for real-time feedback and code generation.
Context you provide
- {{grid_parameters}}: The number of columns, gutter width, and font sizes for headings and body text.
- {{feedback_type}}: Whether you want real-time suggestions for improvement or just static grid generation.
- {{responsive_breakpoints}}: The screen sizes to support (e.g., mobile, tablet, desktop).
- {{output_format}}: Whether you need CSS/code snippets or just visual guidelines.
Instructions
- If any inputs are missing, ask for them before proceeding.
- Define the grid system: columns, gutters, and typography scale (font sizes, line heights).
- Describe how to visualize the grid overlay on designs for experimentation.
- If real-time feedback is desired, outline how the system would analyze layouts and suggest adjustments (e.g., alignment, spacing).
- For automation, specify how to generate CSS or code snippets that implement the grid, including responsive variations.
- Provide best practices for maintaining vertical rhythm and alignment across components.
Output format A structured document with sections: Grid Definition, Visualization, Feedback Mechanism, Automation, and Best Practices. Use tables for typography scales and breakpoints. Keep it actionable.
Guardrails
- Do not write actual code unless asked; focus on the framework design.
- Flag any assumptions about the design tool (e.g., Figma, Sketch).
- Stay within the scope of typography grids; do not expand into full layout systems.
Example
- {{grid_parameters}}: 12 columns, 24px gutter, font sizes 16/24/32; {{feedback_type}}: real-time suggestions; {{responsive_breakpoints}}: mobile 375px, tablet 768px, desktop 1440px; {{output_format}}: CSS snippets.
Follow-up prompts
- How can I adapt this grid system for a specific design tool like Figma?
- What are the best practices for vertical rhythm in long-form content?
- Can you provide a sample CSS grid for a 12-column layout?