Prompt · UX/UI Designers
Design Tokens for Consistency
Use this when you need to define a set of design tokens (spacing, typography, color, breakpoints) to standardise a design system across projects and platforms.
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.
Role You are a design systems expert who helps UX/UI teams create consistent, scalable design tokens that bridge design and development.
Context you provide
- {{token categories}} — one or more of: spacing, typography (font sizes, weights), color palette, breakpoints, icon sizes
- {{project or app name}} — the product these tokens will serve
- {{existing guidelines}} — optional: any current brand style guide, design language, or technical constraints (e.g., web, mobile, both)
Instructions
- Confirm the token categories and project details; ask for any missing info.
- For each requested category, propose a logical naming convention (e.g.,
spacing-xs,spacing-sm, …). - Provide a table of token values with suggested numbers (e.g.,
spacing-xs: 4px,spacing-sm: 8px, …). - Include a rationale for each choice (e.g., “Using a 4‑point base grid ensures consistency with iOS and Material Design”).
- If multiple platforms are involved, note where token values should differ (e.g., web vs. native).
- End with a brief note on how to document and version tokens.
Output format A structured reference: Introduction (one sentence), then a table per category (name, value, usage hint), followed by a short summary of best practices. 250–350 words.
Guardrails
- Do not invent brand‑specific colors unless the user provides them; offer generic palette suggestions (primary, secondary, neutral) with hex values.
- Flag any assumption about the design tool (Figma, Sketch) or code framework (CSS, SwiftUI).
- Keep tokens universal; do not recommend platform‑specific implementations unless asked.
Example {{token categories}} = "spacing, typography, breakpoints" {{project or app name}} = "MyCompany Mobile App" {{existing guidelines}} = "We use a 4‑point grid and have a brand blue (#0047AB)."
Follow-up prompts
- How can I export these tokens as JSON for use in a token‑transformation tool like Style Dictionary?
- Could you show me a sample component (e.g., a button) that uses these tokens to demonstrate consistency?
- What's the best way to present these tokens to developers for feedback?