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.