Mobile layout prompt

A mobile layout prompt asks the AI to show a page at phone width with clear rules: one column, readable text, tap targets with space around them, and the main button on the first screen.

The prompt

Read DESIGN.md. Show the [page] page at 390px wide.
Keep the same content as desktop, in this order: [order].
One column. Body text at least 16px.
Tap targets at least 44px, with space between them.
No horizontal scrolling.
Put the main button within the first screen.
List anything you hid or moved compared with desktop.

When to use it

After each page works on desktop, and again before launch. Many tools default to desktop, so ask for mobile on purpose.

Why it works

A phone is where cramped layouts and small buttons hurt most. WCAG 2.2 sets a minimum target size of 24 by 24 CSS pixels.1 A 44px rule leaves room for thumbs. The last line matters, because AI tools quietly drop content on mobile.

How to adapt it

  • Add a tablet check at 768px if your buyers use tablets.
  • Ask for a sticky call or book button if phone calls are your main action.

Mistakes to avoid

  • Hiding content on mobile. If it's useless on a phone, it's useless on desktop.
  • Judging mobile in a resized desktop browser only. Check a real phone too.

Go deeper

See mobile-first and touch targets. The UI sizing guide has the full set of sizes. This prompt is part of the design stage. It follows the AI website design prompts guide and the six steps in how to use AI to design a website.

Read the prompts guideAll 24 prompts

Sources

  1. "Understanding success criterion 2.5.8: target size (minimum)," W3C, WCAG 2.2. w3.org

Related prompts

Single section prompt

A single section prompt builds one part of a page at a time. It names the section, its content, how it behaves on mobile and what must stay untouched, which prevents most AI regressions.

Get the prompt

Component states prompt

A component states prompt asks the AI to show every state of a button, form or card side by side: default, hover, focus, error, disabled, loading and success. AI tools design the happy path and skip the rest.

Get the prompt

Accessibility audit prompt

An accessibility audit prompt asks the AI to check a page against WCAG 2.2 AA and list each failure with its element and fix, then apply only those fixes. It's a fast first pass before a real checker.

Get the prompt

Wireframe prompt

A wireframe prompt asks the AI for a greyscale layout of one page, with real copy and no styling. Each section is labelled with the visitor question it answers, so you judge structure before looks.

Get the prompt

Want this done for you?

Want your site checked on real phones? Book a call and I'll show you what breaks.

Book a 20-minute call