P
🎨CreativiteIntermediateGemini

Gemini Prompt for Creating a UI Design

Gemini, Google's artificial intelligence, stands out as a powerful tool for user interface design. With its multimodal capabilities, Gemini can generate detailed UI mockups, propose complete design systems, and even produce functional front-end code. Whether you are a designer looking to speed up your ideation phase or a developer wanting to quickly prototype an interface, Gemini offers remarkable flexibility. The AI understands fundamental design principles—visual hierarchy, accessibility, responsive design—and can apply them to your specific projects. By crafting precise prompts that describe the usage context, target audience, and technical constraints, you will get immediately actionable results. This guide provides an optimized prompt to create professional UI designs with Gemini, along with variants adapted to your expertise level and project complexity. You will discover how to structure your requests to obtain consistent, aesthetic, and functional interfaces while adhering to modern design best practices.

Paste in your AI

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

Act as a senior UI/UX designer with 15 years of experience. I want to create the interface design for [APP_TYPE: SaaS, e-commerce, mobile app, dashboard...] targeting [TARGET_AUDIENCE]. The main goal of this interface is to [GOAL: convert, inform, engage...]. Generate a complete UI design including: 1) A color palette with hex codes (primary, secondary, accent, background, text) justified by color psychology. 2) Typography with Google Fonts recommendations for headings and body text, with sizes and weights. 3) The detailed layout of the main page with the placement of each element (header, hero section, content sections, CTA, footer). 4) Required UI components (buttons, cards, forms, navigation) with their states (hover, active, disabled). 5) Spacing and grid system used (8px grid). The visual style should be [modern and minimalist / bold and colorful / corporate and elegant]. Ensure the design complies with WCAG 2.1 AA accessibility standards and is responsive (mobile-first). Provide the result as detailed specifications that I can directly hand off to a developer.

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 a precise expert role to Gemini, which guides the quality and detail level of responses. The five-point numbered structure forces the AI to cover all essential aspects of a design system without omissions. The variables in brackets allow contextual customization while maintaining a rigorous methodological framework that produces professional and actionable results.

Use Cases

Create a UI Design

Variants

Expected Output

Gemini will generate a complete UI specification document including a coherent color palette, precise typographic recommendations, a structured section-by-section layout, and a component library with their different states. The result will be detailed enough to serve as a brief for a front-end developer or to guide the creation of mockups in Figma.

Frequently Asked Questions

Can Gemini directly generate visual mockups for my UI design?

Gemini can generate UI mockup images thanks to its multimodal capabilities, but results are often rough for complex interfaces. The most effective approach is to use Gemini to produce detailed specifications (colors, typography, layout, components) that you then implement in a tool like Figma or directly in code. You can also ask it for ASCII wireframes or very precise visual descriptions that serve as design guidelines.

How do I adapt the prompt for a mobile-first design with Gemini?

Include mobile-specific constraints in your prompt: target screen size (375px for iPhone, 360px for Android), accessible thumb zones, minimum touch target size (44x44px per Apple, 48x48dp per Google), and appropriate navigation (bottom navigation, hamburger menu). Also specify the breakpoints of your responsive strategy and ask Gemini to design the mobile version first before expanding to tablet and desktop.

Can I ask Gemini to generate CSS or React code from the UI design?

Yes, Gemini excels at front-end code generation. Once the design is defined, you can ask it to produce CSS code (with custom properties variables for design tokens), React components with Tailwind CSS or styled-components, or even configuration files for UI frameworks like shadcn/ui or Material UI. Specify your technical stack in the prompt to get code directly integrable into your project. Remember to ask for reusable components rather than monolithic code.

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

    Astuce : ajoute en fin de prompt « fournis les tokens de design (couleurs, espacements) au format JSON exportable vers Figma ou Tailwind » pour passer directement des specs au code.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

🎨CreativiteIntermediateAll AIs

Wedding Day Timeline

Wedding day planning and client preparation

426
🎨CreativiteAdvancedAll AIs

Write a redesign business case

Justify redesign investments

366
🎨CreativiteBeginnerAll AIs

Design Handoff Checklist

Professional project delivery

364
🎨CreativiteBeginnerAll AIs

Shot List Generator

Pre-production planning for any shoot

414