stitch-ui-design
谷歌Stitch AI界面设计工具高效提示词创作专家指南。适用于用户在Stitch中进行UI/UX设计、创建应用界面、生成移动端/网页设计,或需要协助构建Stitch提示词的场景。涵盖提示词结构框架、细节描述技巧、迭代优化策略,以及Stitch设计到代码的完整工作流。
Stitch UI Design Prompting
Expert guidance for crafting effective prompts in Google Stitch, the AI-powered UI design tool by Google Labs. This skill helps create precise, actionable prompts that generate high-quality UI designs for web and mobile applications.
What is Google Stitch?
Google Stitch is an experimental AI UI generator powered by Gemini 2.5 Flash that transforms text prompts and visual references into functional UI designs. It supports:
Core Prompting Principles
1. Be Specific and Detailed
Generic prompts yield generic results. Specific prompts with clear requirements produce tailored, professional designs.
Poor prompt:
Create a dashboardEffective prompt:
Member dashboard with course modules grid, progress tracking bar,
and community feed sidebar using purple theme and card-based layoutWhy it works: Specifies components (modules, progress, feed), layout structure (grid, sidebar), visual style (purple theme, cards), and context (member dashboard).
2. Define Visual Style and Theme
Always include color schemes, design aesthetics, and visual direction to avoid generic AI outputs.
Components to specify:
Example:
E-commerce product page with hero image gallery, add-to-cart CTA,
reviews section, and related products carousel. Use clean minimalist
design with sage green accents and generous white space.3. Structure Multi-Screen Flows Clearly
For apps with multiple screens, list each screen as bullet points before generation.
Approach:
Fitness tracking app with:
Onboarding screen with goal selection
Home dashboard with daily stats and activity rings
Workout library with category filters
Profile screen with achievements and settings Stitch will ask for confirmation before generating multiple screens, ensuring alignment with your vision.
4. Specify Platform and Responsive Behavior
Indicate whether the design is for mobile, tablet, desktop, or responsive web.
Examples:
Mobile app login screen (iOS style) with email/password fields and social auth buttonsResponsive landing page that adapts from mobile (320px) to desktop (1440px)
with collapsible navigation
5. Include Functional Requirements
Describe interactive elements, states, and user flows to generate more complete designs.
Elements to specify:
Example:
Checkout flow with:
Cart summary with quantity adjusters
Shipping address form with validation
Payment method selection (cards, PayPal, Apple Pay)
Order confirmation with tracking number Prompt Structure Template
Use this template for comprehensive prompts:
[Screen/Component Type] for [User/Context]Key Features:
[Feature 1 with specific details]
[Feature 2 with specific details]
[Feature 3 with specific details] Visual Style:
[Color scheme]
[Design aesthetic]
[Layout approach] Platform: [Mobile/Web/Responsive]
Example:
Dashboard for SaaS analytics platformKey Features:
Top metrics cards showing MRR, active users, churn rate
Line chart for revenue trends (last 30 days)
Recent activity feed with user actions
Quick action buttons for reports and exports Visual Style:
Dark mode with blue/purple gradient accents
Modern glassmorphic cards with subtle shadows
Clean data visualization with accessible colors Platform: Responsive web (desktop-first)
Iteration Strategies
Refine with Annotations
Use Stitch's "annotate to edit" feature to make targeted changes without rewriting the entire prompt.
Workflow:
Example annotations:
Generate Variants
Request multiple variations to explore different design directions:
Generate 3 variants of this hero section:
Image-focused with minimal text
Text-heavy with supporting graphics
Video background with overlay content Progressive Refinement
Start broad, then add specificity in follow-up prompts:
Initial:
E-commerce homepageRefinement 1:
Add featured products section with 4-column grid and hover effectsRefinement 2:
Update color scheme to earth tones (terracotta, sage, cream)
and add promotional banner at topCommon Use Cases
Landing Pages
SaaS landing page for [product name]Sections:
Hero with headline, subheadline, CTA, and product screenshot
Social proof with customer logos
Features grid (3 columns) with icons
Testimonials carousel
Pricing table (3 tiers)
FAQ accordion
Footer with links and newsletter signup Style: Modern, professional, trust-building
Colors: Navy blue primary, light blue accents, white background
Mobile Apps
Food delivery app home screenComponents:
Search bar with location selector
Category chips (Pizza, Burgers, Sushi, etc.)
Restaurant cards with image, name, rating, delivery time, and price range
Bottom navigation (Home, Search, Orders, Profile) Style: Vibrant, appetite-appealing, easy to scan
Colors: Orange primary, white background, food photography
Platform: iOS mobile (375px width)
Dashboards
Admin dashboard for content management systemLayout:
Left sidebar navigation with collapsible menu
Top bar with search, notifications, and user profile
Main content area with:
- Stats overview (4 metric cards)
- Recent posts table with actions
- Activity timeline
- Quick actions panelStyle: Clean, data-focused, professional
Colors: Neutral grays with blue accents
Platform: Desktop web (1440px)
Forms and Inputs
Multi-step signup form for B2B platformSteps:
Account details (company name, email, password)
Company information (industry, size, role)
Team setup (invite members)
Confirmation with success message Features:
Progress indicator at top
Field validation with inline errors
Back/Next navigation
Skip option for step 3 Style: Minimal, focused, low-friction
Colors: White background, green for success states
Design-to-Code Workflow
Export Options
Stitch provides multiple export formats:
Best Practices for Export
Before exporting:
After export:
Anti-Patterns to Avoid
❌ Vague Prompts
Make a nice website✅ Specific Prompts
Portfolio website for photographer with full-screen image gallery,
project case studies, and contact form. Minimalist black and white
aesthetic with serif typography.❌ Missing Context
Create a login page✅ Context-Rich Prompts
Login page for healthcare portal with email/password fields,
"Remember me" checkbox, "Forgot password" link, and SSO options
(Google, Microsoft). Professional, trustworthy design with
blue medical theme.❌ No Visual Direction
Design an app for task management✅ Clear Visual Direction
Task management app with kanban board layout, drag-and-drop cards,
priority labels, and due date indicators. Modern, productivity-focused
design with purple/teal gradient accents and dark mode support.Tips for Better Results
Integration with Development Workflow
Stitch → Figma → Code
Stitch → HTML → Framework
Rapid Prototyping
Conclusion
Effective Stitch prompts are specific, context-rich, and visually descriptive. By following these principles and templates, you can generate professional UI designs that serve as strong foundations for production applications.
Remember: Stitch is a starting point, not a final product. Use it to accelerate the design process, explore ideas quickly, and establish visual direction—then refine with human judgment and production standards.