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
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 OptimizerComments
- 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
Stable Diffusion Prompt for Creating Infographics
Stable Diffusion is a powerful AI image generation tool that can be used to create visually striking infographics. Unlike traditional design software like Canva or Illustrator, Stable Diffusion lets you generate unique graphic compositions from a simple text description. To get usable infographics, mastering the art of prompt engineering is essential: precisely structure your request by specifying the graphic style, element layout, color palette, and desired level of detail. Infographics generated by Stable Diffusion serve as a strong visual foundation that you can then refine in a graphic editor to add your precise text data. Whether you're a content creator, marketer, or designer, this hybrid approach saves you considerable time on initial design. In this guide, you'll find optimized prompts to generate different infographic styles, versions tailored to your expertise level, and practical tips to get the best possible results with Stable Diffusion.
Stable Diffusion Prompt to Create a Logo
Stable Diffusion has become an essential tool for logo creation thanks to its ability to generate sharp, professional vector visuals. Unlike traditional image generators, Stable Diffusion allows granular control over style, typography, and composition—three essential elements in logo design. Whether you're an entrepreneur looking to create a visual identity without a design budget, a graphic designer seeking quick inspiration, or an agency wanting to speed up its design phase, mastering prompts suited for logo creation will save you considerable time. The key lies in using precise technical terms: specify the logo type (emblem, wordmark, mascot), the graphic style (flat design, minimalist, geometric), and especially logo-specific constraints such as a transparent background, shape simplicity, and readability at different scales. In this guide, you'll find an optimized main prompt, variants suited to your level, and answers to frequently asked questions to create impactful logos with Stable Diffusion.
Edit Feedback Response
Managing revision rounds efficiently
Create Catchy Social Media Headlines
Generates punchy, optimized headlines for your social media posts, adapted to your audience and platform.