Refactoring UI

Looking good, by method

A good-looking interface needs no artistic talent: build one real feature at a time, choose from short lists of values, and make what matters stand out.

Adam Wathan and Steve Schoger wrote this book for people who want to make something look great without relying on a designer. It gives clear tactics instead of taste.

What you'll learn

Tap a lesson to open it

Start with a feature, not a layout

Design one real feature first, build it, then design the next one.

Most people start with the shell. Top bar or sidebar? Logo on the left or the right? That is a mistake. An app is a collection of features, and until you have designed a few, you can't know how the navigation should work.

Start smaller. For a flight booking service, begin with "searching for a flight". It needs a field for the departure city, the destination city, the departure date and the return date, plus a search button.

Sketch itBuild itFix itNext feature
Design the simplest version, build it, fix what you find, then pick the next feature.

Keep the first design rough. Jason Fried of Basecamp sketches on paper with a thick Sharpie, so tiny details are impossible. On screen, leave color out at first. In grayscale, spacing, contrast and size must do all the work, and the result is easy to color later.

Be a pessimist, too. Say you add an attachments section to your comment system design, because you want it one day. Attachments turn out to be hard to build, so the whole comment system waits. Yet comments without attachments were still better than none. Design the smallest useful version first, and put the nice-to-haves later.

Try this. Design your next feature in grayscale, with no color at all.

Pick from a short list

Decide your values once, then choose from a short list every time.

Too much choice is a trap. Is 12px or 13px better for this text? With no limits, every decision is slow, because many answers would be fine.

The fix is a system: a small set of options chosen ahead of time. Pick 8 to 10 shades of blue before you start. Define a type scale, a short list of font sizes, and take every size from it. You do the hard work once, not for every screen.

The first system to set is the feel of the design. Four things decide it: font, color, how round the corners are, and the words you use. A serif font feels classic, a rounded one playful. Blue is safe, and gold says "expensive". Square corners are serious, large ones playful. Mixing square and round corners almost always looks worse.

Serious and formal

Please sign in to continue.

Sign in

Fun and friendly

Hey, welcome back! Ready to dive in?

Let's go

Plain and safe

Sign in to your account.

Sign in
Font, color, corners and words change the feel. Pick them once and keep them everywhere.

A good system also fits how we see. At the small end, a jump from 12px to 16px is a big change. At the large end, 500px to 520px is hardly noticeable. So keep no two values closer than about 25%.

How much bigger the next step looks

From 12px to 16px33% bigger

From 500px to 520px4% bigger

A 4% step is too small to choose between. Make each step clearly bigger than the last.

To pick from a scale, guess a value, then look at the ones on each side. If the two outer ones look wrong, the middle one wins. If an outer one looks best, compare again with it in the middle. If a value is almost right, try the next one on the scale.

Make what matters stand out

Show the important parts clearly, and quiet everything else.

Visual hierarchy means how important each element looks next to the others. It is the most effective tool for making something feel designed. When everything competes, the screen is a crowded wall of content. Quiet the less important parts and it looks better, with the same colors, fonts and layout.

Everything loud

Name: Trail shoe

Price: $19.99

In stock: 12

Color: Blue

What matters first

Trail shoe

$19.99

12 left in stock

Blue

Same facts. The second card tells you where to look first.

Don't rely on size alone. It makes the main text too big and the rest too small. Use weight and color too. A bolder title can stay a sensible size, and a softer color marks supporting text without making it tiny. If one element does not stand out, quiet the ones that compete with it instead of adding more emphasis.

Use labels last. A "label: value" layout gives every piece of data the same weight. Often the format already says what it is: [email protected] is an email, and $19.99 is a price. Or join them: "12 left in stock" instead of "In stock: 12". If you must keep a label, make it quieter than the data.

Buttons have a hierarchy too. A page has one main action, a couple of less important ones, and a few that are rarely used.

Save

Primary: solid

Preview

Secondary: outline

Cancel

Tertiary: like a link

The look of an action tells how important it is.

A destructive action isn't automatically big and red. If it isn't the main action on the page, give it a secondary or tertiary look. Save the big red style for the confirmation step, where it is the main action.

Try this. Rewrite one "label: value" row so the label joins the value, like "12 left in stock".

Give things room

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Text that reads well

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Build a real color palette

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Use light to show depth

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Use images with care

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Finishing touches

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Quiz

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.

Key takeaways

This part of the summary is in Bookmuse Pro. Update Bookmuse to read it.