Skip to content
Starfield Labs

Articles

How to get detailed, high-res app designs from Claude (prompts + examples)

Ask for code, not a picture. Then refine it one message at a time.

By Starfield LabsPublished

Cover art with a paintbrush and a sparkle beside the headline Detailed app designs from Claude.

To get detailed, high-resolution app designs from Claude, ask it to build the screen as code (HTML and CSS, or a React component) instead of describing it, give it a clear design system, and spell out every element and state. Code renders crisp at any size, so you can take screenshots at high resolution. Then refine the design by chatting, one change at a time.

Why ask for code instead of an image?

When Claude writes a screen as HTML or React, you get:

  • Sharp output at any size. Text and shapes are drawn by the browser, so a screenshot at 2x or 3x zoom stays crisp.
  • Real spacing and type. The layout follows real CSS rules, so it looks like an actual app.
  • Easy edits. "Make the cards 8px apart" changes one line, not the whole picture.
  • A head start on building. The design is already working front-end code your team can reuse.

In the Claude app, ask for a single-file HTML page or a React component and Claude can show it as a live preview next to the chat.

What should a good design prompt include?

The more specific the prompt, the more detailed the result. Cover six things:

Part What to say Example
Product and user What the app is and who it's for "A budgeting app for students sharing a flat"
Screen Which screen, and its one job "The home dashboard: see what you owe at a glance"
Content Real labels and data, not lorem ipsum "Rent £450 due 1 Dec; Ola owes you £12.50"
Layout Order and grouping of elements "Balance card on top, then a list of shared bills, then a floating Add button"
Style A small design system "Inter font, 8px spacing grid, one accent colour #4F46E5, 12px corner radius, light mode"
Format How to deliver it "One HTML file with inline CSS, mobile size 390 × 844"

A prompt you can copy

Design the home screen of a budgeting app for students who share a flat.
Its one job: show each person what they owe and are owed, at a glance.

Content (use these exact values):
- Your balance: you're owed £37.50
- Shared bills: Rent £1,350 (due 1 Dec), Electricity £84.20, Internet £30
- People: Ola owes you £12.50, Ben owes you £25, you owe Mia £0

Layout, top to bottom:
1. Greeting and avatar
2. A large balance card
3. A list of shared bills with due dates and a status tag
4. A floating "Add bill" button

Style: Inter font, 8px spacing grid, accent colour #4F46E5, neutral greys,
12px corner radius, soft shadows, light mode. Mobile frame 390 × 844.

Deliver one self-contained HTML file with inline CSS. No external images;
use simple SVG icons. Make it look like a finished, high-fidelity app.

How do you refine a design by chatting?

Treat the first version as a draft. Then change one thing per message, so each change is clear:

  1. Hierarchy: "Make the balance the most prominent thing on the screen. Increase its size and give it more space."
  2. Spacing: "Use 16px padding inside cards and 24px between sections."
  3. States: "Add an empty state for when there are no bills, and a loading skeleton."
  4. Details: "Add a small trend line to the balance card, and status tags in green, amber and red."
  5. Dark mode: "Add a dark version using the same accent colour."
  6. Consistency check: "Review the screen for inconsistent spacing, font sizes and colours, and fix them."

If a change goes wrong, say exactly what to undo: "Keep everything from the last version except the new header. Go back to the previous header."

How do you design several screens that match?

Once you like one screen, lock in its style before you design the next:

  • Ask Claude to write the design system down: "List the colours, font sizes, spacing values, corner radius and component styles you used, as CSS variables."
  • Start each new screen with: "Use exactly this design system," and paste the list.
  • Ask for shared components (buttons, cards, list items) so every screen reuses the same pieces.

How do you export a high-res image?

  1. Open the HTML in your browser.
  2. Use your browser's device toolbar to set the screen size (for example 390 × 844) and a device pixel ratio of 3.
  3. Take a full-size screenshot from the browser's developer tools.

The result is a sharp 1170 × 2532 image, ready for a pitch deck, a hackathon submission or a design review.

What are the common mistakes?

  • Vague prompts. "Make a nice finance app" gives a generic screen. Name the user, the job and the content.
  • Placeholder text. Lorem ipsum hides layout problems. Use realistic data.
  • Too many changes at once. Ten changes in one message are hard to check. Make one or two per message.
  • No design system. Without fixed colours and spacing, each screen drifts. Write the system down early.

Where to go next

Using this for a hackathon? A clear, finished-looking interface is one of the things judges notice. Read how to win a hackathon, and sign up at starfieldlabs.ai to hear first about our events. Need an app to design? See 7 app ideas you can build with Claude.

Keep reading

All articles