P
🎨CreativiteIntermediateClaude

Claude Prompt for Creating Mockups

Creating mockups is a crucial step in any design process, whether for a mobile app, website, or software. Claude excels at generating detailed mockups as ready-to-view HTML/CSS code, structured descriptions for design tools, or complete specifications to guide a development team. Thanks to its deep understanding of interface design, UX principles, and modern design systems, Claude can turn a simple idea into a concrete visual prototype in seconds. Whether you're a designer looking to speed up your ideation phase, a product manager wanting to communicate a product vision, or a developer needing to quickly prototype a feature, Claude lets you move from intention to visual without mastering complex design tools. The prompt approach gives you full control over the fidelity level, visual style, and complexity of the generated mockup.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

You are a senior UI/UX designer specialized in modern interface design. Create a detailed mockup for [DESCRIBE_THE_SCREEN_OR_FEATURE] for [APPLICATION_TYPE: web/mobile/desktop].

Project context:

  • Sector: [e.g., e-commerce, SaaS, fintech]
  • Target audience: [e.g., professionals aged 25-45]
  • Visual tone: [e.g., minimalist, corporate, playful]

Generate the mockup as complete HTML and CSS code, ready to open in a browser. Follow these principles:

  1. Clear visual hierarchy with a consistent typographic system
  2. Spacing and alignment following an 8px grid
  3. Harmonious color palette with primary color [SPECIFY] and secondary color [SPECIFY]
  4. Interactive components with visible hover/focus states
  5. Responsive design adapted to the targeted viewport

Include in the mockup:

  • Header with navigation
  • Hero section or main area
  • Relevant content elements (cards, forms, lists according to context)
  • Footer
  • At least one visible call-to-action

Add comments in the code to explain design choices. Use realistic dummy data, not lorem ipsum.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why this prompt works

This prompt works because it assigns an expert role to Claude, activating its in-depth knowledge of UI/UX design. The structured sections (context, principles, required elements) eliminate ambiguity and guide generation toward a complete and coherent result. The requirement for executable HTML/CSS code turns an abstract description into a concrete, immediately usable deliverable.

Use Cases

Creating Mockups

Variants

Expected Output

You will get a standalone HTML file containing a complete visual mockup with embedded CSS styles, ready to open in a browser. The result includes a structured layout with realistic UI components, a consistent color palette, and credible dummy data that allows immediate evaluation of the final render.

Frequently Asked Questions

Can Claude create mockups for mobile apps?

Yes, Claude can generate mobile mockups in HTML/CSS using adapted viewports (375px for iPhone, 390px for recent models). Specify the target dimensions in your prompt and ask for a container simulating a mobile screen. Claude can reproduce iOS conventions (top navigation bar, bottom tab bar) or Android (Material Design) according to your instructions. For an optimal rendering, ask it to include a meta viewport and simulate the phone frame.

How do I get a mockup that faithfully follows my existing brand guidelines?

Provide Claude with the key elements of your style guide: hexadecimal color codes, font names, typographic sizes, border-radius and spacing values. The more precise you are about your design tokens, the more faithful the result will be. You can also paste an excerpt from your CSS variables file or your existing design system directly into the prompt so Claude conforms to it exactly.

Can you iterate on a mockup generated by Claude to improve it?

Absolutely, it's even the recommended method. After an initial generation, you can request targeted modifications: changing the layout of a section, adjusting colors, adding a component, modifying the visual hierarchy. Claude retains the conversation context and can apply incremental changes without regenerating the whole thing. This iterative approach lets you refine the mockup progressively until you achieve the desired result, just as you would with a traditional design tool.

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Pour un code plus robuste, précisez les breakpoints responsive (ex: 375px, 768px, 1440px) et les micro-interactions (hover, transition, animation CSS). Claude générera alors du HTML/CSS adaptable et moderne, sans refacto.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

🎨CreativiteIntermediateAll AIs

Edit Feedback Response

Managing revision rounds efficiently

0214
🎨CreativiteBeginnerAll AIs

Create Catchy Social Media Headlines

Generates punchy, optimized headlines for your social media posts, adapted to your audience and platform.

2981167
🎨CreativiteIntermediateAll AIs

Midjourney Prompt for Creating Illustrations

Midjourney has become the go-to tool for creating illustrations thanks to its ability to interpret text descriptions and turn them into remarkably high-quality visuals. Whether you are a professional illustrator looking to speed up your creative process, an author wanting to bring your characters to life, or an entrepreneur needing illustrations for your communication materials, Midjourney offers unmatched flexibility. The key lies in how you phrase your prompts: a well-structured prompt lets you control the artistic style, composition, lighting, color palette, and overall atmosphere of your illustration. By mastering Midjourney's specific parameters such as aspect ratio, stylization level, and term weights, you can achieve consistent, professional results with every generation. This guide supports you with an optimized main prompt and its variants to create illustrations suited to all your projects, from children's books to editorial illustration and concept art.

0276
🎨CreativiteBeginnerAll AIs

Location Scout Brief

Professional location selection

0239