Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Improving the App Design | Building your Project
Web App from Scratch with Claude

bookImproving the App Design

Swipe to show menu

Unless you have a design file ready to go, the fastest way to restyle your app is to find something you like and show it to Claude Code. This chapter walks you through exactly how to do that.

How to pass it to Claude Code

Once you have found a design you like:

  1. Copy or screenshot the image
  2. Paste it directly into the Claude Code chat
  3. Add a specific prompt alongside it

A prompt that works well:

"Take the styling and colours of this UI design and implement it into my app. Keep the structure and functionalities exactly the same. Only change the design style."

Being specific about what to keep the same is just as important as describing what you want changed. If you do not say keep the structure the same, Claude Code may rebuild more than you intended.

Which model to use for design

When working on design changes, switch the model to Opus using the dropdown in Claude Code. Opus does a better job of interpreting visual inspiration and translating it into code. For most other tasks Sonnet is the right choice, but for design, Opus is worth using.

Expect to iterate

The first pass will get you most of the way there. It will not always be perfect. That is fine. Look at what came back, identify the one thing you want to adjust, and send a follow-up prompt that is specific about that one thing.

question mark

What is the recommended way to change your app’s design using Claude Code?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 4. Chapter 2

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

Section 4. Chapter 2
some-alt