AI models struggle with visual design when asked subjective questions like "make this look modern." However, when you constrain models with spatial coordinates, viewport parameters (100dvh), WCAG contrast rules, and Nielsen heuristics, they become invaluable design thinking partners.

These 10 prompts provide structured specifications for responsive hero layouts, text wireframes, design system tokens, UX micro-copy for edge cases, and onboarding friction audits.


9.1 Hero Section Viewport & Modern Redesign Prompt

Best for: Fixing clipped heroes, awkward mobile stacking, and dated above-the-fold layouts in AI builders or codebases.

Prompt Template
Act as a Senior Product Designer and Frontend Engineer. Redesign our homepage hero section to fix viewport clipping and align with modern UI/UX standards.

Critical Layout Fixes:
1. Viewport Fit: Constrain the hero cleanly within `100dvh` (accounting for navbar height) so the headline, subhead, primary CTA, and hero visual fit above the fold without clipping on desktop or mobile.
2. Grid Alignment: Replace broken vertical stacking with a balanced 12-column split layout (copy left, visual right) or a structured centered focal layout.
3. Visual Hierarchy & Polish: Use fluid `clamp()` typography, a clean neutral base with one high-contrast accent color (`4.5:1` minimum contrast), subtle layered shadows, and smooth hover micro-interactions respecting `prefers-reduced-motion`.

9.2 Text-Based Wireframe & Information Architecture Blueprint

Best for: Planning page hierarchy, content density, and component placement before opening Figma or writing HTML.

Prompt Template
Act as a Principal UX Architect. Create a detailed Desktop & Mobile Wireframe Blueprint for `[PAGE_TYPE: e.g., SaaS Pricing Page / Analytics Dashboard / Marketplace Listing]`.

User Goal: `[WHAT_USER_NEEDS_TO_ACCOMPLISH]`

Deliver:
1. Section-by-Section Hierarchy: Ordered list of page blocks from top navigation to footer.
2. Component Breakdown: Exact UI elements inside each block (headings, cards, filters, CTAs) with character-count limits so layouts never break.
3. Mobile Adaptation Rules: How multi-column grids collapse, stack, or convert into drawers/tabs on viewports under `768px`.

9.3 Nielsen 10-Heuristic UX Audit

Best for: Evaluating an existing interface, flow, or screenshot description against established usability principles.

Prompt Template
Act as a Lead UX Researcher. Conduct a rigorous Heuristic UX Evaluation of `[DESCRIBE_INTERFACE_OR_PASTE_HTML/FLOW]` using Jakob Nielsen's 10 Usability Heuristics.

Provide:
* A Markdown table listing: Heuristic Violated, Specific UI Issue, Severity Rating (1 Cosmetic to 4 Catastrophic), and Actionable UX Fix.
* Conclude with the Top 3 Quickest Usability Wins that will reduce user errors and support tickets immediately.

9.4 WCAG-Accessible Color Palette & Design Token Generator

Best for: Generating semantic CSS variables (--bg-surface, --text-primary, --accent) that pass accessibility contrast checks.

Prompt Template
Act as a Design Systems Architect. Generate a complete, accessible Semantic Color Token System (Light Mode and Dark Mode) built around primary brand hex `[HEX_CODE]`.

Requirements:
* Provide semantic CSS custom properties for backgrounds (`canvas`, `surface`, `elevated`), text (`primary`, `secondary`, `muted`), borders (`subtle`, `strong`), brand accents, and status states (`success`, `warning`, `error`).
* Verify that all text/background pairings meet WCAG 2.1 AA contrast ratios (`4.5:1` for normal text, `3:1` for large text and UI borders).
* Output as copy-pasteable `:root` and `[data-theme="dark"]` CSS blocks.

9.5 UX Micro-Copy for Empty, Loading & Error States

Best for: Replacing robotic system errors ("Error 500") with helpful, human-centered interface copy.

Prompt Template
Act as a UX Writer. Write clear, empathetic, action-oriented UI Micro-Copy for `[APP_OR_FEATURE_NAME]` matching `[BRAND_VOICE: e.g., calm, concise, professional]`.

Write copy (Headline + 1-sentence Body + Button Label) for:
1. First-Time Empty State: User hasn't created any items yet.
2. Zero Search Results State: Query returned nothing.
3. Form Validation Error: Invalid email or missing required field.
4. Network / API Failure State: Something broke on our end, reassuring the user their data is safe.
5. Destructive Action Confirmation Modal: Deleting an account or permanent project.

9.6 User Journey & Friction Map

Best for: Visualizing every touchpoint, emotion, and drop-off risk from first visit to core activation.

Prompt Template
Act as a Customer Experience Designer. Map the end-to-end User Journey for `[PERSONA]` trying to `[ACHIEVE_CORE_OUTCOME]` in `[PRODUCT_NAME]`.

Create a 5-Stage Table (`Awareness`, `Onboarding`, `First Action`, `Aha! Moment`, `Habit/Retention`) detailing:
* User Actions & Touchpoints
* User Mindset & Emotional State
* Friction Points / Drop-off Risks
* UX Design Opportunities to eliminate friction

9.7 Interactive Component Spec & State Matrix

Best for: Ensuring developers build every interactive state of a UI component, not just the happy path.

Prompt Template
Act as a Design Systems Lead. Write a complete Component Specification for `[COMPONENT: e.g., Multi-Select Combobox / Data Table / File Uploader]`.

Detail:
1. Visual States: Default, Hover, Focus-Visible (keyboard ring), Active/Pressed, Disabled, Loading, and Error.
2. Keyboard & Screen Reader Accessibility (ARIA): Required `role`, `aria-*` attributes, Tab order, Escape key behavior, and arrow-key navigation.
3. Responsive & Edge Cases: How it handles text overflow/truncation, touch target sizing (`44x44px` minimum), and mobile viewports.

9.8 Onboarding Flow & Time-to-Value (TTV) Reducer

Best for: Cutting unnecessary signup steps so new users experience core product value in under 2 minutes.

Prompt Template
Act as a Product Growth Designer. Redesign our new-user onboarding flow to minimize Time-to-Value (TTV).

Current Steps: `[LIST_CURRENT_SIGNUP_AND_SETUP_STEPS]`
Core "Aha!" Moment: `[DESCRIBE_WHEN_USER_FIRST_GETS_VALUE]`

Deliver:
1. Step Elimination Audit: Which questions/steps can be deleted or deferred until after activation.
2. Redesigned 3-Step Flow: Progressive disclosure steps with a progress indicator and sample/template data pre-loaded so the dashboard is never blank.

9.9 Fluid Typography & Spacing Scale Generator

Best for: Establishing mathematical visual rhythm across desktop, tablet, and mobile screens.

Prompt Template
Act as a UI Typographer. Create a modern Fluid Type & Spatial Scale using CSS `clamp()` and an `8pt` spacing grid for `[PROJECT_TYPE: e.g., Editorial Blog / Dense SaaS App]`.

Output:
* Typography Tokens (`--text-xs` to `--text-4xl`): Fluid `font-size`, `line-height`, `letter-spacing`, and `font-weight` pairings.
* Measure Rules: Optimal `max-width` in `ch` units for body paragraphs vs. headlines.
* Spacing Tokens (`--space-1` to `--space-16`): Consistent padding, gap, and section margin scale in `rem`.

9.10 Usability Testing Plan & Task Scenarios

Best for: Running structured 5-user usability tests on a prototype or live site.

Prompt Template
Act as a UX Research Lead. Build a Moderated Usability Test Plan to evaluate `[PROTOTYPE_OR_FEATURE]`.

Include:
1. Research Objectives: Top 3 questions we need answered.
2. 5 Realistic Task Scenarios: Scenario-based prompts without leading words (never tell the user which button to click).
3. Success Metrics: Task completion rate, time-on-task benchmark, and critical error definitions.
4. Post-Test Debrief Questions: 4 questions to capture qualitative perception.


Frequently Asked Questions

How do you fix a hero section that gets cut off using an AI prompt?

Specify exact viewport boundaries such as min-h-[85vh] or 100dvh minus the navbar height, replace broken vertical stacking with a balanced split or centered grid, and enforce fluid clamp() typography so all elements stay visible above the fold.

Can AI generate accessible color palettes for UI design?

Yes. By instructing AI to output semantic CSS custom properties verified against WCAG 2.1 AA contrast standards (4.5:1 for normal text and 3:1 for large text and UI components), you can generate compliant light and dark mode themes.

What is a heuristic UX audit prompt?

A heuristic UX audit prompt asks AI to evaluate an interface against Jakob Nielsen's 10 Usability Heuristics, grading specific usability flaws by severity and recommending actionable fixes.

FAQ Schema Markup

Prompt Template
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "How do you fix a hero section that gets cut off using an AI prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Specify exact viewport boundaries such as min-h-[85vh] or 100dvh minus the navbar height, replace broken vertical stacking with a balanced split or centered grid, and enforce fluid clamp() typography so all elements stay visible above the fold."
      }
    },
    {
      "@type": "Question",
      "name": "Can AI generate accessible color palettes for UI design?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes. By instructing AI to output semantic CSS custom properties verified against WCAG 2.1 AA contrast standards (4.5:1 for normal text and 3:1 for large text and UI components), you can generate compliant light and dark mode themes."
      }
    },
    {
      "@type": "Question",
      "name": "What is a heuristic UX audit prompt?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A heuristic UX audit prompt asks AI to evaluate an interface against Jakob Nielsen's 10 Usability Heuristics, grading specific usability flaws by severity and recommending actionable fixes."
      }
    }
  ]
}

Prompts that put this into practice

beginner

Homepage Structure

The homepage sets the first impression and guides visitors toward action.

Design a high-converting homepage structure for [Business/offer].
For each section, explain its purpose and what the visitor should do next.
Focus on clarity an…
intermediate

Responsive Design Prompt

Turns one page layout into responsive rules: content order on small screens, fluid techniques, justified breakpoints and a per-component behavior table.

Act as a senior front-end designer who plans responsive behavior before any CSS is written.

PAGE
[Page and its components]

WHAT MATTERS MOST ON A SMALL SCREEN…
intermediate

UX Audit Prompt

Runs a heuristic review of one user flow: a step-by-step walkthrough, findings tied to usability heuristics with severity ratings, and fixes.

You are a UX researcher carrying out a heuristic evaluation. This is an expert review, not a usability test: you can judge the interface against established pri…
beginner

Design Direction

A defined direction keeps the design consistent and reduces random decisions.

Create a practical design direction for a [Type of website].
Recommend overall style, colour direction, typography feel, UI density, and visual mood.
Keep it mo…

Keep reading

Sources and references

  1. 10 Usability Heuristics for User Interface Design — Nielsen Norman Group
  2. Web Content Accessibility Guidelines (WCAG) 2.2 — W3C
  3. CSS layout — MDN Web Docs