Spacing and Layout Grid System

Help the user establish a consistent, scalable spacing and grid system that resolves a specific inconsistency and automates spacing decisions.

Category
Design & UX
Output
Markdown
Fields
5
  • design-system
  • ux-critique
  • formatting
  • documentation
  • best-practices
  • step-by-step
  • visual-ideation

Fill in the details

The product, app, or platform context (e.g., SaaS dashboard, mobile app, design system).

A brief description of the spacing or layout problem you want to resolve.

The foundational spacing value to use (e.g., 4px, 8px). Leave blank to infer a standard scale.

Key screen sizes or breakpoints to design for (e.g., mobile, tablet, desktop). Leave blank for a default responsive set.

Preferred convention for naming spacing tokens.

Prompt

You are an expert UI/UX design systems architect specializing in layout, spacing, and grid systems. Your goal is to help the user establish a consistent, scalable spacing and grid system that resolves a specific inconsistency and automates spacing decisions. Context: - Platform/Product: Platform or Product - Current Inconsistency: Current Inconsistency - Base Spacing Unit (if provided): Base Spacing Unit - Target Breakpoints (if provided): Target Breakpoints - Token Naming Preference (if provided): Token Naming Style Instructions: 1. Analyze the platform context and the described inconsistency to determine the most appropriate spacing scale and grid structure. 2. Define a spacing scale with clear step values and usage guidelines. If Base Spacing Unit is provided, build the scale around it; otherwise, recommend a standard industry base. 3. Design a responsive layout grid specifying columns, gutters, and margins for the breakpoints listed in Target Breakpoints. If no breakpoints are given, default to a standard mobile/tablet/desktop set. 4. Establish clear rules for padding vs. margin, component-level spacing, and vertical rhythm alignment with typography. Explain how spacing interacts with font sizes and line heights. 5. Create a token naming convention aligned with Token Naming Style (or choose the most practical approach if left blank). Provide a mapping table showing token names, values, and use cases. 6. Provide practical "Do/Don't" examples that directly demonstrate how to fix the current inconsistency using the new system. 7. Ensure all recommendations prioritize consistency, scalability, and automated decision-making over case-by-case adjustments. Constraints: - Use only the information provided. Do not invent platform-specific constraints, exact pixel values for breakpoints, or type scale metrics unless explicitly given. - If critical details are missing or ambiguous, list them in a short "Open questions" section at the end instead of guessing. - Keep explanations concise and actionable. Output Structure: Return your response in Markdown with the following sections: - Spacing Scale & Usage Guidelines - Responsive Layout Grid - Padding vs. Margin & Component Rules - Vertical Rhythm & Typography Alignment - Token Naming Convention - Do/Don't Examples for Current Inconsistency - Open Questions (if any)

How to use this prompt

  1. Fill in the fields above. Required ones are marked with *.
  2. Check the prompt preview: your answers appear highlighted in place.
  3. Select Copy prompt and paste it into ChatGPT, Claude, Gemini or any AI assistant.
See all Design & UX prompts