P

Gemini Prompt for Creating a Prototype

Creating prototypes is a crucial step in any development process, whether for a mobile app, website, or physical product. Gemini, Google's multimodal AI, stands out for its ability to understand complex briefs and generate functional prototypes with remarkable precision. Thanks to its native integration with the Google ecosystem and advanced code understanding, Gemini can transform a simple text description into an interactive prototype in minutes. Whether you are a designer looking to quickly validate a concept, a developer wanting to iterate on an interface, or an entrepreneur wanting to present a mockup to investors, Gemini significantly accelerates the prototyping phase. The AI particularly excels at generating web prototypes (HTML/CSS/JavaScript), detailed wireframes, and functional mockups. By crafting a structured prompt that clearly defines goals, constraints, and target audience, you will get a coherent and professional prototype ready for testing and iteration. Here are the optimized prompts to fully leverage Gemini's prototyping capabilities.

The prompt

Gemini

You are an expert in UX/UI design and front-end development. I want to create an interactive prototype for [DESCRIBE_YOUR_PROJECT: e.g., a personal budget tracking app].

Project context:

  • Target audience: [DESCRIBE YOUR USERS]
  • Problem solved: [THE MAIN PAIN POINT]
  • Platform: [WEB / MOBILE / DESKTOP]

Generate a complete prototype in HTML, CSS, and vanilla JavaScript that includes:

  1. A home page with clear navigation
  2. The 3 main screens of the user journey
  3. Functional interactions (clicks, transitions, forms)
  4. A modern design with a consistent color palette
  5. Responsive layout (mobile-first)

Technical constraints:

  • Code in a single self-contained HTML file
  • Use realistic dummy data
  • Add CSS micro-interactions for user feedback
  • Include comments in the code to facilitate modifications

Start by briefly presenting the prototype architecture, then generate the complete code.

Personalize this prompt with Léa

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

Why it works

This prompt works because it combines a clearly defined expert role with precise technical specifications, guiding Gemini toward a structured and professional output. The request for a single HTML file leverages Gemini's strength in code generation while ensuring an immediately testable result. Explicit constraints (responsive, micro-interactions, comments) eliminate ambiguity and produce a production-quality prototype rather than a simple draft.

Expected result

You will get a self-contained HTML file containing a complete interactive prototype with multiple navigable screens, smooth transitions, and a modern design. The prototype will include realistic dummy data, be responsive, and can be opened directly in a browser for user testing or presentation to stakeholders. The code will be commented and easily modifiable for rapid iteration.

Variants by level

FAQ

Can Gemini create prototypes for native mobile apps?
Gemini does not directly generate native iOS (Swift) or Android (Kotlin) code as an interactive prototype. However, it excels at creating responsive web prototypes that perfectly simulate a mobile experience. You can request a prototype with fixed mobile dimensions (375x812px for iPhone), simulated touch gestures, and tabbed navigation typical of mobile apps. For an even more realistic result, ask Gemini to add a phone frame around the prototype and use the viewport meta tag for optimal mobile display.
How to iterate efficiently on a prototype generated by Gemini?
The most effective method is to work through targeted iterations within the same conversation. After obtaining your initial prototype, request specific modifications: "Modify screen 2 to add a filter system by category" or "Change the color palette to something more corporate with navy blue." Gemini retains conversation context and will modify existing code without regenerating everything. For major changes, copy the code to a local editor, make manual adjustments, then paste it back into Gemini asking for further improvements. This hybrid human-AI approach is the most productive.
What is the difference between a Gemini prototype and a tool like Figma?
Figma and Gemini serve complementary needs. Figma excels at pixel-perfect design, team collaboration, and complex design systems. Gemini, on the other hand, produces functional prototypes in real code, offering three major advantages: the prototype is immediately testable in a browser without additional tools, the generated code can serve as a basis for final development, and creation speed is unmatched (minutes vs hours). Use Gemini to quickly validate a concept or create a demonstrable MVP, then switch to Figma if you need detailed design specifications for a development team.

Related prompts

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 4800+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.

More prompts to explore

Gemini Prompt for Creating an Email Campaign

Gemini, Google's artificial intelligence model, excels at creating email campaigns thanks to its ability to analyze complex marketing data and generate persuasive content adapted to each audience segment.

Gemini Prompt for Creating an FAQ

Creating a relevant and comprehensive FAQ is a strategic exercise for any website, service, or product. A good FAQ anticipates user questions,

Gemini Prompt for Creating Illustrations

Gemini, Google's artificial intelligence model, offers remarkable capabilities for creating original and detailed illustrations. Whether you are a...

Gemini Prompt for Creating Images

Gemini, Google's artificial intelligence model, now integrates advanced image generation capabilities directly into its responses. Unlike classic image generators, Gemini combines deep language understanding with visual generation, allowing you to create images from highly detailed text descriptions in English. Whether you're a graphic designer looking to quickly prototype concepts, an entrepreneur creating visuals for social media, or simply curious about AI-assisted creation, mastering the art of prompting Gemini will save you considerable time. The key lies in the precision of your instructions: artistic style, composition, lighting, color palette, and overall atmosphere are all parameters that Gemini can interpret to produce striking results. In this guide, you'll discover an optimized main prompt as well as variants suited to your skill level, to get the most out of image generation with Gemini.

Gemini Prompt for Creating Infographics

Gemini, Google's artificial intelligence, offers remarkable capabilities for creating impactful infographics. Whether you are a marketer, teacher, journalist, or entrepreneur, AI-generated infographics radically transform your visual communication workflow. Whereas before you had to master tools like Canva, Illustrator, or Piktochart, a well-structured prompt in Gemini allows you to obtain complete infographic concepts: narrative structure, visual hierarchy, color palette, data layout, and typographic recommendations. The challenge is not simply to ask for an infographic, but to provide Gemini with the necessary context to produce a professional result tailored to your audience. A good prompt specifies the topic, the target audience, the desired tone, the output format, and the key data to highlight. By mastering these prompting techniques, you can produce infographic briefs in minutes that would have required hours of work with a designer. This guide offers optimized prompts, tested and classified by level, to fully exploit Gemini's potential in creating impactful infographics.

Gemini Prompt for Creating Instagram Stories

Instagram Stories have become an essential tool for capturing your audience's attention. With over 500 million daily users, this ephemeral format demands striking visuals, catchy text, and a narrative that makes people want to swipe. Gemini, Google's AI, proves to be a powerful ally for designing professional stories without spending hours on content creation. Thanks to its text and image generation capabilities, Gemini can help you write magnetic hooks, structure coherent story sequences, propose engaging scripts, and even suggest visual palettes adapted to your brand identity. Whether you're a community manager, entrepreneur, or content creator, using Gemini for your stories allows you to maintain a regular publishing cadence while keeping a high quality level. This prompt has been designed to fully leverage Gemini's strengths in creating Instagram stories that generate engagement, DM responses, and conversions. It incorporates best practices for the vertical format, narrative codes of high-performing stories, and copywriting techniques adapted for mobile.

Go further

Get new prompts every week

Join our newsletter.