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.

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 a REST API

Creating a REST API is a fundamental skill in modern development, but it involves many architectural decisions: framework choice, endpoint structure, authentication handling, data validation, and documentation. Google Gemini excels at generating structured code and can guide you through every step of this process. By using a well-designed prompt, you get not only the skeleton of your API but also built-in best practices from the start: appropriate HTTP codes, centralized error handling, security middleware, and layered architecture. Whether you're building a microservice for a personal project or an enterprise API meant to handle thousands of requests, Gemini adapts its response to the requested complexity level. The major advantage is time saved on the scaffolding phase: instead of spending hours manually configuring each component, you get a solid and consistent foundation in seconds, which you can then customize to your specific business needs.

Gemini Prompt for Creating an Advertising Script

Creating a compelling advertising script requires creativity, knowledge of persuasion mechanisms, and mastery of format constraints. Google's AI model, Gemini, excels at generating marketing content...

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 E2E Tests

End-to-end (E2E) tests are essential to ensure the overall functioning of an application, but writing them is often time-consuming and repetitive. Gemini, Google's AI model, excels in generating structured code and can significantly speed up the creation of comprehensive E2E test suites. By providing the technical context of your application — technology stack, critical user journeys, and the test framework used — Gemini can produce robust test scenarios covering both main flows and edge cases. Whether you use Playwright, Cypress, or Selenium, the AI adapts to your framework's conventions to generate directly usable code. The prompt engineering approach allows you to specify the desired coverage level, preferred selector patterns, and test data management strategy. The result: maintainable, readable tests aligned with your team's best practices, produced in a fraction of the usual time.

Gemini Prompt for Creating Flashcards

Flashcards are one of the most effective learning methods, based on the principles of spaced repetition and active recall. However, their manual creation remains time-consuming: formulating questions, synthesizing answers, structuring difficulty levels. This is where Gemini becomes a valuable ally. Thanks to its comprehension and synthesis capabilities, Gemini can transform any content—courses, articles, book chapters, revision notes—into a structured, ready-to-use flashcard deck. Whether you're preparing for a university exam, learning a foreign language, or reviewing technical concepts, Gemini adapts the format, difficulty level, and style of questions to your needs. The tool excels particularly in generating questions that test deep understanding rather than simple memorization, varying formats: open-ended questions, multiple choice, true/false, or sentence completions. Using a well-structured prompt, you can obtain dozens of professional-grade flashcards in seconds, organized by theme and increasing difficulty.

Go further

Get new prompts every week

Join our newsletter.