UI Design Principles: Learn To Create Beautiful and Usable Interfaces From Scratch
UI Design Principles: Learn To Create Beautiful and Usable Interfaces From Scratch
The Basics 12
Typography 52
Color 77
Gradients 106
Shadows 113
Buttons 120
Forms 135
Icons 163
Photos 178
Illustrations 195
Cards 209
Personality 234
Language 244
Navigation 252
Microinteractions 280
Ending 316
You bought the eBook, so you will receive all future updates for free :)
Introduction
00
Thank you and why I wrote this eBook
Hey there!
personally thank you for grabbing it. With so many resources to learn
UI Design out there, you decided to get this one, so thank you very
much!
This is me!
write this eBook? A lot of the courses I watched about UI Design are
just videos of how the creator designs a landing page step by step.
He just shows you how to design, but does not explain anything!
This eBook is different. You will not only know how to design
Design field, this eBook will help you gain new skills, knowledge and
01
UI vs UX
Before we begin, I want to make it clear that this book focuses on
the UI Design - User Interface Design, and its core principles.
These two terms are two separate things, but if you really dig into
the definition you will realise you can't talk about UX without talking
about UI and other way around. A badly designed interface (e.g. bad
contrast, a font that is too small, illegible text) will impact UX badly.
Same as bad research done on the UX stage will impact UI Design
decisions.
02
In this eBook I won't focus on UX and the whole methodology
behind it, but only on the visual side - UI Design. Both are important,
but personally I am passionate about UI Design and I feel like I can
share the most knowledge in this particular field.
Some people might disagree with what I said on the previous page
about UI being a part of UX. I believe that at its core, it’s true - if you
really break down the definitions of those terms you’ll realise that UX
is impacted by UI. However, nowadays there’s a lot of confusion in
terms of job titles. UX Designers generally don’t have to design
interfaces and UI Designers don’t have to do research. In terms of
job titles, UI and UX are not a part of each other.
03
UI vs Branding
The discussion around UI Design vs Brand Design has been a cause
of major confusion for me when I was early in my design career.
Even though I knew that brand designers usually create a logo, color
palettes, typography and language choices (and much more),
working with them was not always the most pleasant experience for
me.
And that's where a Brand Designer comes in. To describe his role in
short: he does research on the target audience of the product, and
based on his findings he decides on the visual appearance of the
brand - a logo, colors, typefaces used, as well as language and even
stationery mockups. Some of them also create some UI mockups,
but these are rather for presentational purposes, not real usage on
the market.
04
Design. This makes a job easier for the UI Designer and improves
the possibility of positive feedback from the target audience. The
product will also be more recognizable. It's common sense, really.
Hours spent on research really pay off.
After reading this eBook you won’t need to rely on a Brand Designer.
You will know how to select typefaces, colors and much more for the
project you’re working on.
05
UI Design Mindset
If you type "UI Design" on Google or Pinterest, you will find many
really beautiful interfaces. They look stunning and might make you
This just looks sooooo beautiful! Work by Gavrisov Dmitri (Dribbble) and Tran Mau Tri
Tram (Dribbble).
deeper purpose. Users that will use the UI you design don't care
about how pretty it is. They care about getting their tasks done with
minimal effort.
not catch all attention, but rather redirects it to the main purpose of
the app.
06
I can bet some serious money that at some point in time, we've all
used an app that was designed fantastically. Some apps that we use
daily were designed by huge, skilled teams that did everything in
their power to make the experience fantastic.
As a designer, you can notice these little decisions that they made to
make the experience better, but the regular user won't. Hundreds or
thousands of human hours were spent designing something, just so
that the user won't care.
I like to use the salt analogy when talking about UI/UX Design. When
something doesn't taste right in your meal, you add some salt to it,
or when you eat with friends/family you say "please pass the salt".
However, when it tastes well, you don't say "it doesn't need salt.
perfect!". You just carry on eating.
Same with design - most users will notice bad design, but the
majority won't notice a great one.
TL;DR - No matter how pretty your design is, the user won't care if it
doesn't help him solve his problem or complete his tasks.
07
Some of my Dribbble shots. I focused on making them pretty, not usable. Pretty work
catches attention. I wouldn’t make something like that for a real product.
The screens that you see above are shots that I made for the sake of
an audience and reach clients, but never forget that it’s not the most
08
“Good design is obvious.
Joe Sparano
09
So... does that mean I can just design ugly stuff?
Not really. Even though usability should be your number one priority,
people also tend to trust products which look good. Even the most
usable application out there with an outdated design can make
users frustrated and switch to the competition.
everywhere everywhere
Both of these screens do the exact same thing. Which one do you like more?
Trends in UI Design come and go. That’s a fact. Anyway, the example
above has nothing to do with trends. The text on the left is hard to
read, and the button looks completely off. The design on the right is
not only better from the UI perspective, but also from the UX side. In
this eBook you will learn how to make sure that your design not only
looks great, but is also usable.
10
A quick disclaimer
The version that you are reading right now is the very first version of
this eBook, and obviously not the last one. This eBook is going to
out to me so that I can correct it quickly. At the end of the eBook you
will find the email address at which you can reach me.
If you bought this version, you will receive all future updates for free.
11
The Basics
In this chapter you will learn what is UI Design, why it matters, what
it consists of and what makes it good. This knowledge is crucial for
every beginner. If you feel like you already know the basics, feel free
to skip this chapter. However, you might also want to refresh your
knowledge. Regardless - let’s begin!
Key content
- Properties of objects
12
What is UI Design?
User Interface Design (or UI Design) refers to the visual elements of
a digital product. It focuses mostly on looks and style, and not the
overall experience (like UX Design). UI Design has a big impact on
the overall User Experience - you can think of it as a “surface” of a
digital product.
While most skilled designers will always preach usability as the most
important aspect of a well designed product (which I totally agree
with), making the interface delightful and enjoyable to use is also
very important. On the next pages I’ll dive deeper into the topics of
usability, as well as making UIs enjoyable.
13
Usability
14
Delightfulness
While usability is (and most likely will be) the priority for users,
making the interface fun and engaging is also very important. We
obviously all have very different definitions of fun, and that’s why
proper research is important.
Users judge your design really quickly. Even the smallest usability
issue can put them off and annoy them. It’s the same for looks - if
they’ll hate they way your UI Design looks, they just won’t use the
application, or will have trouble coming back to it.
15
Yup. Literally. The only thing you had to do before using this app was
to create an account on Domino’s website and choose your favorite
pizza, payment method and delivery address. After that, whenever
you’d open the app pizza was automatically ordered.
Now, what can we learn from it? Just ask yourself: did this app have
many stunning gradient buttons with drop shadows? No! Did it have
animated 3D illustrations? Nope. Was it usable? Hell yeah! While
having large selection is nice, being able to complete a desired goal
by just opening the app is the pinnacle of great user experience, at
least in my opinion.
16
Screens
1125 x 2436 px
1600 x 2560 px
17
1125 x 2436 px 375 x 812 pt
The screens that you see on the left have real resolutions on them.
Frames that you see on the right have resolutions expressed in
points (pt) in which we design for an iPhone X or MacBook Pro
13-inch (and other devices). In UI Design, we most often design for a
smaller resolution than in reality. You don’t need to remember those
resolutions - they’re available as presets in most design tools.
Designing for smaller resolutions (but with maintaining the same
aspect ratio) makes design easier and faster.
18
Objects
On the next few pages I’ll go through some properties that every
UI Design element has, as well as some that it can have, such as
shadows or other effects.
19
Size - width and height
Every single element has its own size, which consists of width and
height, expressed in points.
W: 64 pt W: 128 pt
H: 64 pt H: 64 pt
Y: 56 pt
Y: 142 pt
X: 56 pt
X: 282 pt
20
Rotation
Every element can also be rotated. The values range from 0° to
360°. You can also input negative values, such as -120°.
Fill
Every element can have various different types of fill, such as color,
gradient (different types - more on that in the Gradients chapter), or
even an image.
21
Border
You can add a border to every element in UI Design (also known as
stroke), as well as modify its thickness. There are three types of
borders in UI Design - inner, centered, and outer.
22
Border radius
This property relates only to shapes, not to text. Border radius
defines how rounded the edges of a shape will be.
23
Shadows
Every element can also has its shadow - think of them as a separate
layer that is positioned in relation to the element that they’re casted
from. They play a big part in UI Design, so I wrote a dedicated
chapter for them, and that’s why I won’t dive deep into them at this
part of the book.
X = 0
X = -4
X = 4
Y = 4
Y = 4
Y = 4
Blur = 4
Blur = 4
Blur = 4
X = 0
X = 0
X = 0
Y = 30
Y = 35
Y = 0
Blur = 15
Blur = 60
Blur = 30
Every shadow has X, Y, Blur and Opacity values. More on that in the
Shadows chapter.
24
Layer blur
Every element can be blurred, reducing the level of its detail. In most
Background blur
them blurred.
There are also other types of blurs, such as Motion blur, but they are
25
Perception and visual hierarchy
As a designer, you should be able to make the user focus on
particular elements. By using visual hiearchy, we can make certain
elements seem more important and prominent, thus grabbing user’s
attention. We can do that by changing some properties of an
element. Which ones? Let me show you.
Size
It’s natural for humans to perceive larger things as more important
ones, especially when put in contrast to a smaller thing. Same in UI
Design - a large button seems more important than a small one,
large text seems more important than small text etc. This also
applies to text.
26
Color
Bold colors, such as blue, red or green can easily draw user’s
attention, while light colors such as white, light grey or cream will
supposed to stand out, nothing stands out. That’s why you should be
27
Position
Most people read content left to right, top to bottom. That’s why the
user will most likely read content on the left first, and content on the
right second, like on the example below:
You will read this first. You will read this second.
28
Proximity
Elements that are close to each other are likely to be perceived as a
group, so elements that are placed in a certain proximity seem
related. This also means that if an elements clearly is not a part of
any group, it breaks the layout and stands out.
Alignment
Elements that are aligned with each other seem related, so when an
element is placed asymmetrically, it stands out.
29
Common region
When elements are located within a closed region, they are
perceived as a part of one group. In UI Design, this is useful for
example when designing cards.
Healthy lifestyle:
Healthy lifestyle:
As you can see above, elements that are closed within a box seem
more related to each other, as if they were from a group.
30
Figure-ground principle
This principle states that people quickly perceive objects as part of
the background or the foreground. As you can probably tell, objects
in the foreground seem “closer” to the user, and that’s why they’re
considered as more important and interactive.
What’s next?
Most of these examples that I showed you come from Gestalt
principles of visual perception, which describe how our brains create
structure and hierarchy by default. I showed you the most important
ones, but I highly recommend you google “Gestalt principles”, as the
topic is very interesting.
31
Grid and layout
A grid is a set of horizontal and vertical lines that divide a screen
into columns and rows. They’re one of the most important principles
in UI Design, yet sadly they often appear as confusing to beginner
designers. I personally hated grids when I was a beginner, but after
learning how to use them I noticed how valuable they really are.
Key content
- What are grids in UI Design?
32
What are grids in UI Design?
As defined on the previous page, a grid is a set of horizontal and
vertical lines, which divide the screen to columns and rows. Grids
give structure to a page / an app and ensure consistent spacing
between elements. Let’s take a look at the anatomy.
Columns
Columns are the vertical sections of a grid. The more columns the
grid has the more flexible it is. Most web designs use 12 columns.
Rows
Rows are horizontal sections of a grid. They’re user rather rarely in
web design. Most usually, grids are based on columns.
33
Gutters
Gutters are empty spaces that divide columns and rows. The smaller
the gutter, the tighter the content on the screen.
Margins
Margins are the space outside of columns / rows and gutters. You
can think of them as gutters outside of the grid. While they can be
set to 0, setting them to a higher value will result in more white
space on the edges of your design.
It’s important to get margins right. Using margins that are too low
can make your design look worse because of less white space.
34
Modules
The area at which a column and a row intersect is called a module.
35
Why it’s important to use grids?
All this theory behind grids can become complicated, so I think it’s
good to let you know why grids are important and why it’s worth to
take the time and master them.
36
your UI Design should be responsive. Well, grids make it a lot easier.
It takes some guesswork out of deciding how elements should
behave when the screen gets smaller or bigger.
Grid types
1. Fluid grid
In a fluid grid, column width changes based on screen width, while
margin and gutter widths are fixed. This type of grid is perfect for
designing responsive interfaces, as the size of the content changes
based on screen size.
37
as you can see on the example above, gutters and margins are
exactly the same regardless of the screen size. Let’s see how this
Hello Hello
As you can see, the width of objects changes based on screen size,
but their margins from screen edges stay the same. Fluid grids are
38
2. Fixed grid
A fixed grid has a fixed value of columns and gutters, with margin
width that changes based on screen width.
Because columns and gutters have set values that do not change
based on screen size, fixed grids work best for content that is not
supposed to look different on different screens, but rather stay the
same.
While it might seem that fixed grids are used rarely because the
content placed based on them will not be responsive, they are
actually used quite frequently, for example for forms or articles.
Stretching this type of content does not make much sense, so it’s
better to use a fixed grid for them. On the next page you will see a
few examples.
39
Here’s how a fixed grid behaves:
Hello Hello
Log in Log in
Username Username
tom_smith tom_smith
Password Password
············· ·············
40
A lot of empty space on the edges for the desktop version, right?
Log in Log in
Username Username
tom_smith tom_smith
Password Password
············· ·············
This rectangle on the right looks quite small in this book, but just try
based on a fluid grid! It’s less readable, and that’s why we usually
41
How to build a column grid?
The first question you have to ask yourself whenever you start
building a new grid is: “How many columns should it have?” The
most common and safe approach is to use a 12-column grid. This
way, the grid is divisible by many small numbers such as 12, 6, 4, 3, 2
and 1 - because of that, you’ll have a lot of flexibility over layout.
42
After you decided how many columns you are going to use, there
are a few things left needed to build our grid. We’re going to use
some math here but don’t worry - it’s at a very basic level.
First, find the width of your screen. Let’s use 1440 as an example.
Remember that the smaller the width of gutters, the tighter the
content of the screen. While there are no specific rules for that,
I usually use 12pt, 14pt or 16pt for gutters and 160pt or 180pt for
43
5. Divide the result by the number of columns
The final step is the easiest one - just divide the result that you got
from step 4 by the number of columns in your grid. In this case,
900 / 12 = 75
And that’s it. Now you have all values you need to build your column
grid. Sometimes the last result may come out as a non-integer - in
that case, round that value up to the nearest full number. Most
design tools will only need you to enter the number of columns,
margin and gutter widths. Speaking of design tools - as the last step,
just enter the values that we determined during this process to see
the final result. This is how it looks in Figma:
44
Some design tools will have the option “Stretch” for the grid type,
are also other options such as “Center” in which you’ll have to enter
Always try out different options. Just take a piece of paper and
sketch out your design roughly. Maybe you’ll realise that margins
should be bigger or that you need more columns? Before you start
Creating rough content layouts like this one takes a few minutes or
less, but it can give you a lot of clarity when it comes to deciding
45
8pt grid
While fluid and fixed column grids are a great way to organize
The 8pt grid system is based on the idea that you use multiples of 8,
16 pt
Get started 16 pt
88 pt
While this might sound hard at first, it’s really not. Also, I think it’s
your UI Designs. If you decide to go with the 8pt grid, you have two
46
Hard grid vs Soft grid
If you decide to go with the 8pt grid in your UI Design (which I highly
recommend), you’ll have to pick between a hard and a soft grid.
Here are the differences between them.
Hard grid
In a hard grid, the dimensions and spacing between all elements is
8pt and its increments. In a hard grid, the content in your UI Design
is going to snap to the grid in 8pt increments. Designing with this
type of grid is hard, so I prefer the soft grid. More on that below.
Soft grid
In a soft grid, elements don’t have to be sized at 8pt and its
increments. If you decide to go with a soft grid, you’ll just have to
measure 8pt or its increments (like 16, 24, 32 etc.) to space out
elements. This way they will still be consistently spaced out (and
responsive), but it’s not as rigid as when it comes to hard grids.
47
Creating a soft grid
Creating a soft grid should always begin by choosing the base value.
For the 8pt grid that I mentioned above, it’s obviously 8 points.
However, for mobile designs 8 points is a lot, so I’m a fan of using a
4pt grid, in which you essentially have twice as many spacing
options. Regardless of which one you choose, you should then
create multiplies of it. Here’s an example:
8 pt 16 pt 24 pt 32 pt 40 pt 48 pt
If you realize that you frequently need a value from in between two
values, it might be a good idea to change the base value. While the
idea of setting up a spacing scale like that is limiting, it in fact makes
your designs much more consistent and saves time.
48
What about text?
When it comes to text, you should align it based on its baseline, or
the “invisible” line on which its placed. This way, regardless of the
font size your text is aligned properly.
In many places in your design you will have to align two pieces of
text with each other. When that happens, align them based on the
baseline of their first lines of text. Those pieces can frequently have
different line heights, so aligning them based on the baseline of their
first line works well.
49
Grids on mobile devices
Smartphones have screens that are way smaller in width than bigger,
dekstop screens, so using a column grid is quite rare when
designing for mobile devices. Instead of using it, you will just need to
do two simple steps to set up a grid for mobile. Here they are:
1. Set margins
The first thing you should do to set up a layout for a mobile device is
to set margins. I recommend using either 20pt or 24pt. Using larger
values might look better, but it’s a sacrifice to precious screen space.
50
These areas are also known as “safe space”. Essentially, these are
areas that are completely free of any content.
4 pt 8 pt 12 pt 16 pt 20 pt 24 pt 28 pt 32 pt
51
Typography
Typography is a technique of arranging type to make written
language legible, readable and appealing. Many designers believe
that “text is just text”, and that it’s not very important. However, to
properly communicate the message, certain rules should be
followed when using type in UI Design.
Key content
- What is typography?
52
What is Typography?
Typography is the art and technique of arranging type to make
written language legible, readable and appealing when displayed.
It's a very broad topic, and pretty much every designer will have to
deal with type at one point or another. Fortunately, its principles
apply to many other areas such as Graphic Design, and not only UI
Design.
53
Understand type structure
It's important to understand some basic terminology when working
with text. This will ensure you understand the rest of this chapter.
Typography
Ascender
Cap
height
x-height
Baseline
Descender
54
Know your selection
The most common typeface categories used for UI Design are Serif
and Sans Serif typefaces. The latter ones are the default and most
be avoided in UI Design.
55
Pick a readable typeface
Pick a typeface that is easy to read. In other words, pick a typeface
that is simple in the way its built. It shouldn't look very fancy.
Remember - written content should be the main focus, and not how
pretty the typeface you selected is. It should be simple enough, so
it's not distracting.
56
Pick a typeface with a lot of weights
Pick a typeface that has many weights. Some designers and
foundries release typefaces with only one or two weights, which
won't be enough to build a type scale, which we will talk about in
future pages. Anything from 4-5 weights is enough, but obviously
the bigger variety of weights the better.
Even though the message is exactly the same, the version on the right instantly
seems more professional and trustworthy.
57
Finally: how many typefaces?
After you found the typeface you think will work perfectly, a new
question arises - will it be enough, or should you look for the second
one? Fortunately, in most cases one typeface should be enough. It's
significantly harder to build a typographic system with two typefaces,
so stick with one if possible.
58
Building a type scale - start with the body text size
These values apply mostly to mobile interfaces. You can still use
lower values for other things, but it’s good to stick to at least 16pt for
the body copy and input fields. Trying to deliberately decrease font
size just to fit more content on the screen is not the right way to go,
because readability suffers a lot.
59
easily, but that’s not really my favorite approach for some reasons.
First, let me show you how to create a type scale using the Golden
Ratio.
Maybe you already noticed the problem with this approach - the gap
between 16pt and 26pt is very large, and we might need a text size
of 18pt, 20pt or 22pt in our design. What happens then? Anyway,
let’s keep going to create a bigger scale.
60
Next, divide the smallest size you got and multiply the largest
size you got by 1.618 again.
The situation would be quite similar if you went with a different ratio,
so I use a different method to create a scale of sizes. It takes a bit
more work, but it gives better results.
61
Again, select your base size - for me it will be 16pt.
62
Next, add a few new sizes by adding 4pt to the highest size until
I ended up with a text size of 32pt, which will be great for headers!
Anyway, if you need higher sizes, just add 8pt a few times and
you’re gonna get them. If not, just leave it like this. We’ve just
height.
63
Use proper line height
Line height is the vertical distance between lines of text. Usually text
body text, not so much to headers. One important thing you should
know is that if you’re using an even number for text size, you should
also use an even number for line length. Otherwise, the vertical
To set up line height easily, multiply the font size by 1.6. After that,
round the result to the nearest full number. If the font size is odd,
make the line height odd as well. Same applies to when the font size
On the left, the line height is 15pt, which is too small. On the right it’s 20pt. I created it
by multiplying 12pt by 1.6. I got 19.2, so I rounded it to 20pt (closest even number).
64
Use lower line height ratios for larger text
Some random
Some random
For headers with large font sizes you should use smaller ratios. Here
for example I used 1.6 on the left which is very high for a header, and
on the right I used 1.3 which worked just fine. For even larger sizes
like 32pt you can use 1.1, or even just 1.0.
Here is some short, example body that has around 70 characters per
line. Aligning it differently would be nice.
65
“If you don’t control type,
it controls you.”
The Futur
66
How to use letter spacing
Letter spacing (also known as tracking) is a consistent change in the
spacing between letters in text. It shouldn't be confused with
kerning, which refers to changing spacing between a pair of letters,
but that's a rather rare thing to do for UI Designers. Proper usage of
letter spacing can make the text more readable.
letter spacing
This is letter spacing
The default value is 0%, and in most cases there’s not need to
change it. Having letter spacing that is too narrow or too wide can
lead to big readability problems, so use it responsibly.
67
When to change letter spacing
As I mentioned, in most cases you will be fine just leaving the letter
spacing alone. However, in some scenarios you can change it. For
example, decrease letter spacing for headers:
Header Header
LS = 0% LS = -3%
The approach on the left is not really wrong. It’s perfectly fine to be honest, but it’s just
a small detail that can make your UI Design better.
You can also increase letter spacing for all-caps text. The gaps in
text like this are smaller, so you can make it more readable:
Again, these are just very minor tweaks that in most cases you don’t
have to do. Sticking to the default value - 0% - is just fine.
68
How to align text
69
Avoid rags
When one line of text ends with a long word, and next line ends with
a short word, we call that a rag. If the rag is big, user's eyes need to
do a lot of work to jump from one line of text to the next one. It can
become a concern with very long chunks of text, so keep that in
mind when designing.
The jump from one line to another on the left side is very big, and it should be
avoided whenever possible. It’s especially true for long chunks of text.
70
Align different text sizes to the baseline
When you align something with a line of text, align it with its
baseline, and not with the center. It might seem counter-intuitive
NOT to align with the center, but take a look at this example:
It might not look that bad now but if you add a baselines to these
two text lines, you will see that they are completely misaligned.
It’s a minor detail that might even get lost, but details like these truly
make a difference.
71
It makes more sense to align them on one baseline, like this:
72
Use font weights to establish hierarchy
A few pages ago we’ve created a type scale together. However, size
is not the only way to establish hierarchy within our designs. We
naturally want the users to focus on the important content first, so
apart from size we can use weight to achieve it.
Header Header
Here is some short Here is some short
and sweet body text. and sweet body text.
Nothing too fancy! Nothing too fancy!
On the left side there’s a large header, but both header and body text have a weight
of regular. We can replace that with having a smaller, bold header.
The example on the left is not necessarily “wrong”. The user will
read the header first, then the body text, just like we want. However,
we can do the same thing and take less space on the screen by just
using a higher weight, such as Bold or SemiBold.
You can also apply weights on the type scale we’ve created a few
pages ago. As you probably guess, larger font sizes will have higher
weights, and smaller font sizes - smaller weights.
73
Here’s an example of how this could look like:
Also, don’t be tempted to use Light weights for small text. It might
make a lot of sense, but in fact it’s just making it very hard to read. If
you want, you can experiment with it for larger sizes.
It’s best to define font sizes and weights before starting the project.
This way you won’t have to wonder if you should go with Medium or
SemiBold, 24pt or 28pt etc.
74
When pairing, skip a weight or two
When you pair a header with body text, skip a weight to maintain
proper contrast between them, so for example: use Regular weight
for body text, skip Medium and SemiBold weights and use bold
weight for header. If you use Medium for body text - skip SemiBold
and Bold and use ExtraBold for header. Here’s an example:
Header Header
Here is some short Here is some short
and sweet body text. and sweet body text.
Nothing too fancy! Nothing too fancy!
The pair on the left is Medium + Regular, which don’t have enough contrast between
each other. On the right we have Bold + Regular, which works well.
75
Avoid pairing typefaces that are very similar
When you want to pair two different typefaces with each other, make
sure they're not very similar to each other. This will result in an
inconsistent look and lack of contrast. Either use just one typeface,
or use two that are different from each other.
Header Header
Here is some short Here is some short
and sweet body text. and sweet body text.
Nothing too fancy! Nothing too fancy!
The pair on the left is Raleway + Poppins, which are very similar. This does not look
very consistent. On the right we have Inter + Gelasio.
I know I’m repeating myself, but seriously - try to stick with just one
typeface. They’re way easier to pair, and you don’t need to worry
when to use the first typeface or the second one.
If you need to go with both for some reason, at least pick two that
are different from each other.
76
Color
Proper usage of color is one of the most important aspect in UI
Design. In the Introduction, I've mentioned that User Experience is
based all around emotions - positivive or negative ones. Using color
is one of the most effective ways to evoke certain emotions in the
user. Even though the choice behind colors in UI Design are often
influenced by the work of Brand Designers, it's crucial you
understand what colors mean and how to use them properly.
Key content
77
Before we start let’s do a short exercise:
Let's begin this chapter a little differently. Can you recognize for
which brand each one of these colors stand for?
? ? ?
? ? ?
Try to guess! These are big and popular brands. On the next page your can see the
answers.
78
Here are the answers:
Below you can see the answers. How many have you guessed
correctly? I hope it wasn’t too hard!
Chances are, you got at least a few correctly - these are big,
well-established brands that all highly depend on how memorable
their colors are. You didn't even have to know their names, hear
what they do or see their websites - you can recognize them by their
color. This is how powerful color is.
Each color stands for something. It has a meaning behind it. I can
guarantee you that CEOs of these companies didn’t just go “OH!
I LIKE THIS COLOR, LET’S USE IT!”. There’s data behind it. In this
chapter I will help you choose colors for your projects and create
beautiful, consistent color palettes.
79
Understand the terminology
We can't have a conversation about color if we don't set our
definitions first. Below you can see some of the most important
definitions in the world of color.
Hue
Hue is just another word for color.
Saturation
Saturation is a range from pure color (100%) to gray (0%).
This is all the same hue - just with different saturation values. On the very right side
the saturation is 0%, so it’s just pure gray.
80
Lightness
Lightness defines how bright the color is, from black to white.
These all have the same Hue and Saturation values, but they have different Lightness.
Shade
Shade is a color created when black is added to a hue.
Tint
Tint is a color created when white is added to a hue.
81
The most important colors
I want to dive into many different colors in detail in this chapter, but
first I want to talk about two most important colors out there - black
and white.
In fact, not even black and white, but also their tints and shades.
Pure black (#000000) is rarely used in UI Design because of it’s very
high contrast which can be bad for the eyes, but anyway. These two
are the colors you will use most frequently - usually black for text
and white for the background. They may not be very exciting, but
using them properly is crucial.
#000000 #1F1F1F
Pure black is the darkest color out there - it can cause too much contrast between
itself and the background, so it should almost never be used in UI Design.
82
Before using other colors, start with black and white
Chances are that you’ve heard of wireframing. It’s essentially a
technique which refers to designing a website or an app at a
structural level. It’s a stage which is (or at least should be) always
done before creating real UI Designs.
83
We’ll start with black and white, and then apply color
Let’s make a very basic part of a landing page together using black
and white. After that, we’ll dive deep into color psychology and
apply some colors together, but for now starting with black and white
should be enough.
Start
As you can see, it clearly lacks some color, so in the next pages
you’ll learn which we should apply and for what purposes. On the
right side we’ll also put an illustration.
You can notice that there are also some elements that we haven’t
talked about yet, such as an input field, a button or an illustration, but
don’t worry. They’re very basic at this level.
84
How to select colors - color psychology
Color psychology is a study of how colors determine human
emotions and behaviors. Unlike many people might think, selection
of colors for UI Design is not only a matter of personal preference.
Each color evokes emotions in the user, so it should be used wisely
and based on reserach, and not on personal preferences of you or
your client.
Primary colors
Secondary colors
Tertiary colors
85
Blue
The world's favorite color
Blue was proven to be the favorite color of most people. It's also the
most commonly used color in digital product design (apart from
black and white of course) due to its likeability.
Negative sides: the most popular color out there. Can be hard to
stand out as a brand.
Start
Blue is an excellent choice for any brand that wants to promote trust.
86
Red
The energetic color
Red has a long wavelength, and therefore it's one of the most visible
colors. It quickly catches attention - this is why it's often used for
warning signs.
Negative sides: due to its visibility, red is often used for warnings.
It's generally considered to be a negative color.
Join
Any product which causes strong emotion can try using red.
87
Yellow
The most visible color
Yellow is the most visible color. It's often used for warning
notifications. Like red, it quickly catches attention.
Negative sides: because it's the brightest color, it's also bad for the
eyes when light and saturated. Very negative in excess.
Go!
88
Orange
Start
89
Green
The color of nature
Green is the second favorite color for most people. Because of its
likeability, it's frequently used for success messages in UI Design.
Go!
90
Purple
The color of luxury
Purple is a very rare color in nature, so in color psychology it's also
considered to stand for rarity, wealth and uniqueness. In UI Design
it’s used rarely, so it can let the brand stand out easily.
Best for: luxury goods, tech industry, religion (Milka, Yahoo, Twitch).
Start
Purple is rarely used as brand’s primary color. Not many brands promote luxury.
91
Pairing colors with the color wheel
pairing colors using the color wheel. After you select your first,
Complementary
Analogous
92
Split-Complementary
The split-complementary color palette
is similar to complementary palette.
Triadic
Triadic palette consists of three colors
evenly spaced on the color wheel, in the
shape of a triangle. It tends to be quite
vibrant and contrasting.
Rectanglular
This palette consists of two pairs of
complementary colors. It produces 4
colors, so only one should dominate,
and other should be accent.
93
My favorite color palette - monochromatic palette
Monochromatic palette is made out of one primary color and its tints
and shades. Tints can be used for example for the background or
card backgrounds, shades can be used for text, while the primary
color itself can be used for buttons.
You don’t even need a color wheel to prepare a palette like this. On
the next few pages, I will show you how to create a full color palette,
step by step. Monochromatic palettes are extremely easy to apply,
because you don’t have multiple bold and vibrant colors. More on
this below.
A short summary on color palettes based on the color wheel
All these palettes that I showed you on two previous pages are
based on a field called color theory. It’s used in a range of different
fields in the world, such as fashion, interior design, graphic design
etc. However, as you learned in The Basics chapter, color draws
user’s attention to something. If we have like 4 bold and vibrant
colors, we need to work a lot more on creating hierarchy with them.
That’s why I love monochromatic palettes - they look great and are
really easy to apply.
94
Creating a color palette
Your main goal for working with color in UI Design should be
creating a color palette for the project that you’re working on. Same
as with your type scale, you want something that you can easily
apply to the project without wondering which shade of blue will be
better, or if you should use #FFFFFF instead of #FAFAFA etc.
There are many flaws with this approach. First of all, 4 colors is
nowhere near what we need to create a full, applicable color palette.
Secondly, some of these palettes lack the most important colors -
black and white, or at least their tints and shades. Also, there’s rarily
any color-psychology-based decision behind using a palette like
these. They just look attractive, that’s all.
95
Anyway, let’s try to apply one of these color palettes to the page
Join
Join
These colors don’t match the product, but regardless of that you can
see that it looks just weird and unrealistic. There’s a better solution -
96
Let’s create a color palette
Our goal for this part of the chapter will be to create a large color
palette of colors that go well with each other and that will include
every color we might need in our UI Design.
Here’s my safe
Secondary pick:
Color blue!
is optional. #3E8EF4
#FD9900
97
STEP 3: Choose your Notification Colors
One of the things I haven’t talked about yet are Notification Colors -
colors used for displaying success, warning or error messages.
These messages can be displayed on the screen to give the user
feedback for his actions. These are usually: green for success
message, orange for warning and red for error.
98
STEP 4: Create tints of all colors you have so far
Creating tints will provide us with lighter versions of the colors we
currently have. This can be useful in many places in our project - for
example, the tint of our Primary Color can work just fine for the
background in our project.
If you need more precision you can create much more tints by
changing the Lightness value by for example 5% at each step, but do
it only when you really need it.
99
STEP 5: Create shades of all colors you have so far
Creating shades will provide us with darker versions of the colors we
currently have. This can be useful in many places in our project - for
example, the shade of our Primary Color can work great as a text
color.
Same with tints, if you need more precision just use a different
number like 5%.
100
STEP 6: Create a grayscale
Apart from tints and shades for all colors, we will also need a
grayscale. In fact, the majority of many designs is mostly filled with
greys of some sort. To get our darkest grey, let’s set the Saturation of
our Primary Color to 20 and Lightness to 10%.
After we have our darkest grey, we can create a grey palette with it.
Just take that darkest grey as your first color, and add 10% of
Lightness at each step until you get something like this. It should end
with pure white.
101
STEP 7: Think of how to apply the colors
Now your color palette is complete and ready to be applied. This
topic also causes a lot of confusion, but in reality it’s quite simple.
Many people suggest using the Golden Ratio for color usage as well
- in other words, the 60-30-10 rule. Example below:
Math is not the solution to all problems - same thing happened with
the type scale. It’s better to do some things manually.
102
STEP 8 Go and celebrate!
Great job! Now your color palette is complete, and you should have
Please remember that you don’t need to use every single one of
your colors, and if you will need to use another color (for example a
slightly different shade of gray) you can do that. Just try to avoid
6. Create a grayscale
Sounds like a lot, but a well-made color palette can save you HOURS
during the actual design stage. You can now save each one of these
colors as a Color Style in your design tool for easier access. That’s
103
Accessibility
When placing one color on top of another, make sure they meet
accessibility standards - that means, that there's enough contrast
between them to read the content without problems.
It’s always good to test this. What looks great on your computer
screen will not necessarily work well on someone’s 10 year old
phone in full sunlight.
104
“If one says ‘Red’ (the name of
the color) and there are 50
people listening, it can be
expected that there will be 50
reds in their minds. And one
can be sure that all these reds
will be very different.”
Josef Albers
105
Gradients
Gradient is a gradual blending from one color to another. They’re
very popular in UI Design nowadays. Paired with a nice, colorful
shadow they can create stunning results. In this chapter I’d like to
explain why we use gradients, show you different types of them, as
well as show how to choose colors for a gradient.
Key content
- What are gradients?
106
Gradients are all around you
If you look around yourself right now, almost everything you'll see is
a gradient. In fact, pretty much nothing has a solid color in a typical
environment. When light comes into play, everything becomes a
gradient.
Now, why is this important? Because that means that using gradients
can make our designs closer to the real world - in other words, more
realistic. They (and shadows) are a great way of adding depth to UI
Design.
Button Button
107
Another reason to use gradients
Apart from the common answer (they look cool), gradients give
designers creative freedom. The number of gradients you can create
is nearly infinite. You can mix two colors with each other and get a
stunning, original result. Elements with a gradient on it naturally
stand out from the crowd, which can be helpful in creating hierarchy.
The amount of different gradients that you can create is nearly infinite.
Instagram uses gradient for their app icon. It looks creative and stands out.
108
Gradient types
To make a gradient, you'll need two or more colors. You can
combine them with different gradient types to achieve interesting
results. You can also use handles for each color that let you "drag" it
and change its position inside the gradient, or even drag the handles
outside of the shape for a more subtle transition.
Linear gradient
It's a simple, linear transition between two or more colors.
Radial gradient
A radial gradient has a shape of an ellipse, with one color starting in
the middle and the other on its edge. It's frequently used to make
objects look 3D. When applied to an oval and positioned correctly, it
can create a very interesting result.
109
Angular / conic gradient
An angular gradient (also known as conic gradient) is quite similar to
the radial gradient due to it's shape. An angular gradient places
color stops around the circle. It's a very rare choice for UI Design. It
might look original, but it also looks distracting and unfamiliar.
Mesh gradients
Mesh gradients are very abstract combinations of multiple colors.
They're hard to create on your own, but they can be downloaded for
free from the internet from various generators. They're still almost
inexistent in real products, so use them rather for experimentation or
be careful not to overuse them.
110
Choosing colors for gradients
You can create a gradient with any pair of colors, but there are some
transition between colors is not very harsh, like on the left here.
I’m sure you can tell when a gradient is good or not. Gradients with a
very rough transition between colors instantly look ugly. If you want
to create a good gradient, start with the same color on both sides,
and then just change the Hue value of one of them by 20 or 25.
111
Too many gradients = cognitive overload
In late 2020, Tobias van Schneider shared a Tweet showcasing
many app icons which use a lot of vibrant colors and gradients.
One of the reason why these apps have icons like these is because
they want to get user’s attention. I mentioned that gradients make
elements stand out from the crowd. Well, as you can see above, if
everything stands out - nothing stands out. Same goes for colors.
While an unorganized mess of different vibrant gradients might look
cool, it would be very distracting.
112
Shadows
Shadows are the most common effect in UI Design. In fact, you’ll
find them in almost every design out there. They play an important
role - they add depth to our designs, making some things farther
from the user, and some things closer to him. In this chapter I’d like
to show you why we use shadows and how to create them.
Key content
- Two types of shadows in UI Design
- Inner shadows
113
Two types of shadows
In UI Design, we have two types of shadows - drop shadows and
inner shadows. The latter ones are very rarely used, so let’s focus on
drop shadows first.
Drop shadow
The most commonly used type of shadows are drop shadows. After
adding them to our element a slightly blurred shadow will appear
under it. Drop shadows elevate elements from the surface. Below
you can see an example of what I mean.
No shadow Button
Here the button does not have a drop shadow. As you can see on the right side,
Here’s an example of a button with a drop shadow. As you can see, now it’s elevated
from the background.
114
Anatomy of a drop shadow
Drop shadows have the same shape as the element they are casted
from, and their position is also in relation to that element. The parts
of any shadow are X value, Y value, Blur value and Opacity value. By
changing the X and Y values the shadow can be moved in any
direction, and by changing the Blur value the shadow can become
more blurred, making it softer.
X = 0
X = -4
X = 4
Y = 4
Y = 4
Y = 4
Blur = 4
Blur = 4
Blur = 4
X = 0
X = 0
X = 0
Y = 30
Y = 35
Y = 0
Blur = 15
Blur = 60
Blur = 30
Different shadows give different interesting effects. All shadows have the same color -
#000000. More on shadow color on next pages.
115
Making awesome shadows
You understand why we use drop shadows and how they’re made.
Now it’s time to learn how to make them beautiful!
X = 0
X = 0
Y = 4
Y = 30
Blur = 4
Blur = 50
#000000 #3D4B5C
116
Try colorful shadows on colorful elements
Using dark shadows on colorful elements is fine, but adding a
colorful shadow can easily make the design “pop”. Take a look:
Button
117
Use shadows on button text to improve contrast
Even though it’s not good to use a drop shadow on longer chunks of
text, using a subtle drop shadow on button text can improve
contrast, especially when the button is bright, and text is white.
The best solution would be to change the color of the button or make the text black,
but if we can’t do that, shadow is our best option.
118
Inner shadows
Inner shadows are the opposite of drop shadows. While the latter
elevate things from the surface, elements with an inner shadow look
like they’re “sunk” into the background. They’re very rarely used in
UI Design nowadays.
On the left you can see two white squares that are elevated from the
surface using drop shadows. On the right you can see one elevated
square, and one with an inner shadow. It look like the bigger square
on the right has a hole in it!
Inner shadows are very, very rare in UI Design. While it’s very
common that elements with a drop shadow are clickable, objects
with inner shadows are straight up confusing.
119
Buttons
A button is an interactive element that allows users to take actions.
Clicking (or tapping) them results in a specific action that is (or at
least should be) described inside the button. At some point, the
product will ask the user to take action - whether it's to create an
account or order some food, we need buttons for that.
Key content
- Button types in UI Design
120
Button types
In general, buttons can be grouped by button styles and button
actions. Button styling refers only to how it looks - the sizing, color or
a shadow. Button action refers to what action it performs. It’s quite
simple actually - more important buttons should stand out more so
that they can be found easier.
CTA (Call-To-Action)
CTA stands for Call-To-Action. As the name suggests, a CTA Button
(often referred to as just CTA) is expected to call the user to perform
some action after clicking it. CTAs are very common on landing
pages - for example "Create an account". After clicking it, the user
can expect that he will be asked to enter information to create an
account.
Get started
121
Call To Action buttons should stand out
You should style a CTA so that it stands out on the screen. You can
simply use a solid, Primary color to achieve that. You can also try to
add a drop shadow, but that’s fully optional. CTAs are usually the
biggest buttons, so keep that in mind.
Height matters
CTAs should be very easy to tap on a mobile device, so it’s best to
keep the height between 40pt and 60pt, but not below 40pt.
122
Primary buttons
Primary buttons are very similar to CTA buttons. In fact, they often
look exactly the same in terms of styling. However, the difference is
in the action - CTA buttons call the user to perform some action after
clicking it, while Primary buttons just help the user use the product
and perform an action for him.
A few examples of Primary buttons. Notice that none of them should require the user
to take any additional “action” - a Continue button will probably just move the user to
the next page, and a Download button will download the file.
Password
·············
Next step
123
Secondary buttons
Secondary buttons are an alternative to the Primary button. These
can be buttons such as "Back" or "Cancel" button. These aren't
actions we necessarily encourage the users to take, but they might
still want to take it.
As you can see above, the main actions are “Next step” and “Save file”. Users will
take these actions is most cases, but we should provide them with an alternative.
Password
·············
Button pair like this shouldn’t appear in the first stage of filling the form, because you
can’t really go back from the first step.
124
Tertiary buttons
Tertiary buttons are buttons that the user might not really be looking
for all the time. These buttons are very situational. Let's say the user
is reading an article - he will see a range of Tertiary buttons such as
share or save. Considering that these are rather rare actions, they
don't stand out a lot.
Buttons that you see above won’t be clicked by every user. They’re not a part of any
specific process, such as creating an account. Notice that they are smaller than other
buttons - after all, they’re less important.
Article header
Here is some article text.
This article can be saved
using a Tertiary button
that is placed near it!
125
Button styles
In this part I want to focus only on styling buttons, and not when and
how they should be used.
Filled button
A filled button is filled with a solid color or a gradient.
Line button
A line button does not have a fill - just an outline.
126
Text link buttons
Text link buttons are simply parts of text that are styled to make them
look clickable. It’s usually done by changing the color and increasing
the weight on words that can be clicked.
Icons look great paired when paired with some button text. However, you can leave
just the icon if it’s common and well-known. If you wonder if an icon will be
understandable enough, just think if you’ve ever seen it in another product.
127
Corner radius
Adjusting the border radius of buttons can give it a different feel.
Sharp buttons with very low corner radius (or just 0) feel more
elegant and professional. More rounded buttons are more
user-friendly, and better for the eye as well.
I indicated the tap area with red color. On mobile, the tappable area
of any element should be at least 44x44pt. This way people with
larger fingers won’t missclick that often. Keep it in mind when
designing small, but interactive elements.
128
Button shadows
Adding a subtle shadow to your button can make it stand out more.
It usually works best for filled buttons, not so much for line and
transparent ones.
Button states
One of the things designers forget to design are styles for all button
states. Apart from just the initial state, you should also design a
hover, clicked and disabled states. Even though it's a small detail, it
gives the user feedback for his actions, which is essential for
designing a good product. Here’s an example:
Disabled state
129
Button width
A great height for a button is anything between 40 to 60 points.
What about the width? It depends on length of the text inside the
button. I recommend using horizontal padding of 32 points for web
interfaces, and full screen width for mobile interfaces.
Continue Continue
As you can see above, button width should depend on the width of the text inside of
it, at least for web interfaces. For mobile interfaces, in 99% of cases buttons cover the
whole width of the screen (excluding the margins).
Please keep in mind that the value of 32pt for padding for buttons is
not a golden rule. In many cases your grid system will influence the
width of buttons. It’s a common scenario when it comes to designing
forms. Take a look at an example on the next page.
130
Log in
Username
tom_smith
Password
·············
Next step
Log in
Username
tom_smith
Password
·············
Next step
Button on the top has a horizontal padding of 32 points, but it’s not
aligned to other elements of the form. I personally think that it is fine
to use even a wide button like on the bottom in order to keep
alignment proper.
131
Button text size
Text inside buttons should be very easy to read, so I recommend
using a font size of 16pt. If you’re using 15pt or 17pt as your base font
size in your type scale, you can also use that value for buttons.
However, keep in mind that anything below 13pt can be hard to read,
and anything over 20pt is unnecessary and makes the button bigger.
Continue
Continue
Continue
Continue Continue
Download Download
132
VIBs - Very Important Buttons
Many products have something that I like to call a Very Important
Button - a button that has a very high degree of importance.
133
Button pair positioning
It's quite common for buttons to come in pairs - for example inside of
forms - "Continue" button on one side, "Back" button on the other. It
can be confusing where each button should be placed. In short - the
button that is more important should be placed on the right side, and
less important on the left. This is especially true on mobile devices.
Around 90% of people are right-handed, so a button placed on the
right is easier to reach with their thumb.
134
Forms
A form is a User Interface element that lets the user send
information to the server. It's one of the most common ways he
uses to interact with the product. It's a step that's necessary
whenever the product requires some information from the user, for
example logging in, signing up for a newsletter or entering a
delivery address. There are a lot of factors that go into creating a
well designed form.
Key content
- What are forms and why we use them in UI Design?
- Measuring success
135
Why we use forms?
We use forms to get information from the user. For reference to
physical world - think of it as a piece of paperwork that needs to be
filled out. In digital world its pretty much the same thing. When forms
get lengthy, they're often not completed, which ultimately leads to
user being unable to finish a desired task, which is an example of
bad UX.
136
Forms are built out of elements
Create an account
Full name
Tom Smith
Username
tom_smith
Password
·············
Next step
137
Text field
The most common form element is the text field. It has a quite simple
anatomy - just a rectangle with a label and placeholder text inside (it
can have the same size as your base / body text size).
Username Username
tom_smith
On the left you can see an empty text field, an on the right - a filled one.
[email protected] ·············
The majority of text fields hold just text or numbers (or both).
138
Keep the labels visible
You might think that if labels have placeholder text, the labels aren’t
needed. However, it’s better to keep them, because the placeholder
disappears after the user starts typing, and he can forget what he’s
entering if there’s no label.
Username
Card number
Expiration date
06/21
CVC
123
139
Card number
06/21 123
Username Username
The style that you can see on the left is a very popular trend. Text
fields with a white background and a drop shadow look quite cool,
but they can be very easily confused with a button or a card.
140
Text field styles
Text fields can have a variety of different styles. Changes between
them are purely visual, so there is no reason to use one over the
other. Just make sure to be consistent throughout the whole design.
Username Username
Username Username
Thomas Kle
This approach usually requires that the text field is higher, but it’s still
good to follow it. It’s used by companies like Google or Adidas.
141
Text fields with icons
Feel free to use icons inside text fields. They make “scanning” the
field easier. Just make sure to use an icon that is understandable.
Username Password
Fields like these don’t need a label. They can even have a drop
shadow and a more sophisticated style. Take a look at AirBnB:
142
Dropdowns
In anatomy, dropdowns are very similar to text fields - they look
almost exactly the same, only that they have a chevron on the right
side of the form, and their placeholder text usually indicates that
user has to make a selection, and not input text.
Country
Country
Afghanistan
Albania
Algeria
An example of a dropdown.
143
Consider adding a search bar inside a dropdown
Dropdowns are usually used for a very large number of elements. If
that’s the case, it’s good to turn the dropdown into a search bar after
it’s toggled. This way the user can search through all elements
without the need to scroll.
Country
Afghanistan
Albania
Algeria
Andorra
Angola
144
Use a scrollbar inside a dropdown
Without a scrollbar, it can be confusing for the user to undertstand if
a dropdown is scrollable or not. Just make a very simple one on the
right side and you’re good to go.
Country
Afghanistan
Albania
Algeria
Andorra
Angola
It’s better to just use a scrollbar than to make a dropdown with a list
of like 20 positions, taking half of the screen real estate. It’s way less
intrusive and not that hard in development.
145
Radio buttons
Radio buttons serve a similar purpose to dropdowns, except they do
it for shorter arrays of items - usually 2 to 4. They are usually a small
oval with a border, with a filled oval inside it when selected. Only one
radio button can be selected at a time.
Hamburger Hamburger
Hamburger
Fries Fries
Fries
Checkboxes
Checkboxes act like Radio buttons, except they're used for multiple
selection, meaning multiple items can be selected at once. They're
usually styled as square boxes with a border, and they get a colored
fill with a check icon when selected.
Select
Select your favorite mealyour favorite meals
Pizza Pizza
Hamburger Hamburger
Fries Fries
146
Switches
Switches have a similar purpose to checkboxes - they're a multiple
choice element that is rarely used in forms, but rather as separate
objects. The main difference between them and checkboxes is that
action caused by switching a switch does not have to be confirmed
by a "Submit" button.
Settings
Wi-Fi
Cellular Data
Bluetooth
Personal Hotspot
Switches are better for places in which you change the values of
unrelated elements - for example in settings. Using a checkbox in
this scenario would be okay, but it’s better to use switches if the user
does not have to confirm changes with a button.
147
Sizing of Radio buttons and Checkboxes
You might have noticed that radio buttons, checkboxes and switches
are all very small elements - actually, they're one of the smallest
interactive elements in UI Design. On mobile devices, radio buttons
and checkboxes both should have dimensions of 24pt, but they
should have a larger tap area of at least 44pt around it (on mobile).
This way they're more accessible.
Pizza Pizza
Hamburger Hamburger
I indicated the tap area with red color. Please note that these values
are only showed to illustrate my point, and these aren’t exact sizes
that tap areas should have. It’s also a good idea to make text next to
Radio buttons and Checkboxes tappable as well to make it more
accessible.
Hamburger
click!
148
Slider
A slider is a different way of selecting a number value - for example
a range of prices. The precision of a slider is smaller than just
entering the numerical value, but when dealing with numbers that
don't need to be very specific, it can be useful.
0 100 $0 $450
As you can see above, sliders can be used for selecting a specific
number or a range of numbers. It depends on the product. However,
the latter type is used more frequently.
It's a good practice to use sliders with two text fields near the label,
so if the user needs more precision, he can select how he wants to
enter the numbers.
$0 $450
149
Best practices
So far I went through elements that forms are made out of.
Remember that forms have elements such as headers and buttons,
but I haven’t included them as they aren’t exclusive to forms. In the
remaining part of this chapter I’d like to go through some best
practices when designing forms.
150
Keep forms short and sweet
If a field is unnecessary, remove it. The shorter the form the better.
Decisions of what’s important and what isn’t are often made by
product owners, but just remember that less is more.
Log in
Full Name
Tom Smith
E-mail address
Username
tom_smith
Password
·············
Forgot password?
Log in
Come on - we don’t need user’s name, and both e-mail and username to let him log
in.
151
Log in
E-mail address
Password
·············
Forgot password?
Log in
While more information about the user can be beneficial for the
company, filling forms is usually a tedious process that users don’t
really want to do, so it’s best to keep forms short.
152
Remind the user why the form is valuable
Some users might feel that filling a form is too demanding, and they
don’t know why they should even do it. That’s why you should
remind them that filling these forms will bring value to their life, and
that it’s worth doing it.
Our newsletter
E-mail address
Join newsletter
Our newsletter
E-mail address
Join newsletter
153
If possible, let users continue with social media
Signing up / logging in with social media makes the whole process
way easier. It provides the server with all the information necessary
for the sign up / log in process automatically, and the user does not
have to enter any on his own.
Hi there!
Create an account
Log in
Nowadays it’s very rare for a product not to have support for logging
in with social media or Apple ID. Implement it whenever possible!
154
Design all states for form elements
Make sure that you have every state for every form element
designed. It might feel like an unnecessary thing to do, but in reality
it's really important. Fortunately - also pretty simple.
Inactive Inactive
Focused Focused
Writing... Writing...
155
Break down a long form into small pieces
If you have a very long form (5 fields and up) and you can't make it
shorter because all fields are necessary to fill, break it down into
small pieces and inform the user about his progress on the way. This
way, at first glance it will look like filling that form is not such a big
challenge.
Label
Label
Label
Label
Label
Next step
Label
156
Use single column layout when designing forms
When using a single column form, user's eyes naturally jump from
one field to another, without confusion. This way he understands the
order in which he's asked to fill the form.
Form name
Label Label
Label Label
Complete
Form name
Label
Label
Complete
157
Let users know why you ask them for certain information
Some people aren't comfortable with sharing sensitive information
such as their phone numbes or address. They might think the
company will call them or will sell their data. If you explain why you
ask for something, users are more likely to fill that field.
Create an account
E-mail address
Phone number
Password
·············
Forgot password?
Log in
158
Create an account
E-mail address
Phone number
Password
·············
Forgot password?
Log in
Again - this is optional. If it’s obvious why the product asks for
specific information (for example a food delivery company asking for
address) - you can skip this step. If it’s not that obvious (for example
an e-book store asking for address) - it’s better to explain it.
159
Optional instead of required
In most forms, you'll most frequently see two pairs of content
requirements - required + nothing, and nothing + optional. The
second one is better. Asteriks are not clear for everyone. It's better
to clearly state that some information is optional.
Label * Label
Complete Complete
It’s a minor detail that matters. Even if you skip this tip, always make
sure that it’s clear what information is optional, and what is required.
Never leave user guessing if he has to fill something or not.
160
Divide fields into semantic groups
When you have a lot of fields in your form, divide them into semantic
groups by leaving a small gap between each group. While this is a
small tip, it can greatly increase conversion, because the user's mind
has to do significantly less work - in other words, it's way simpler to
fill a form that's divided like this.
Address
Address
City
City
Postal code
Postal code
161
Use real-time feedback
Real-time feedback means that immediately after the user completes
entering something into the text field, he will get feedback regarding
if it's okay or not. This way, he can be certain that after clicking the
submit button everything will go smoothly.
Label Label
Label Label
Writing... Writing...
Label Label
It’s also common that after submitting the form something turned out
to be entered incorrectly, the whole page refreshes and the user has
to type in everything again. That’s TERRIBLE UX! Never do that! It’s a
job for the developer, but remember about it.
162
Icons
Icons are a crucial part of every interface. Most users “scan” the
content - meaning they don’t read every single bit, but they look for
something specific. Icons are important in this process, because
they let the users read less. In this chapter I’d like to go through
some important rules regarding using icons in UI Design.
Key content
- What’s an icon and why we use them in UI Design?
163
What is an icon?
In simple words, an icon is an image used for communication
purposes that has a very high symbollic value. They provide the user
with a visual information that is (or at least should) be easy to read
and understand. If it wasn't for icons, we would need to use text to
communicate almost everything, which would require high effort to
read it.
A few icons. Can you go through them and think of what they mean?
164
Icons are all around you
Icons weren't born for UI Design purposes. They existed in our world
a long time ago. You can see them on a DSLR dial, on your
microwave and many other places in real life. A very common place
they also exist is on road signs. Think about it - before getting a
driver's license, driver needs to pass the test meaning that he
understands the meaning of the road signs. Imagine such a test
made for users, before interacting with any UI Design!
Icons can be found in many places in real life. Photo: John Gibbons, Unsplash
165
Icons in UI Design - two types
In UI Design, there are two main types of icons - clarifying icons and
interactive icons. Both are used frequently.
Clarifying icons
The first type - clarifying icons - are meant to explain something, for
example a feature. A good example of them is for example
categories in e-commerce products - icons aren't necessarily
needed to interact with a category, but they make it clearer what is
included in it.
Tech shop
Cameras
Speakers
TVs
As you can see, these icons aren’t interactive. They just clarify what
each category includes in it.
166
Interactive icons
The second type are interactive icons - most commonly used on the
navbar. Users can interact with them to perform certain actions in the
product. For example a "Heart" icon on a product card can lead
adding that product to favorites.
Interactive icons are basically buttons. Some of these icons can also
be used without any label at all, but it’s better to keep them to make
sure they’re understood.
These icons work best if they're very simple and commonly known.
After all, the user might be scared if he wants to tap an icon to do
something, but he does not know what it will do. They should also
have a larger tap area than the icon itself - they're one of the
smallest elements in UI Design, but also the ones that the user
interacts a lot with. Always make sure that the tap area is at least
44x44pt, as mentioned in previous chapters too.
167
Icon styles in UI Design
The main icons styles used in UI Design are Filled icons and Line
icons. These are the most common icons out there. Filled icons are
"filled" with a color or gradient, while line icons only have a stroke of
a specific width. Nowadays there are also many other styles -
Duo-tone, broken or even "glassy" icons. They are rather a piece of
art which definitely look great, but in most cases it will be better to
stick with primary two styles.
The first two styles you see above will work well in any situation.
They’re the most common styles out there, that are also very safe.
The remaining three styles are not used as frequently in real
products. That being said, they can be used, but they’re not as easy
to understand as Line and Filled icons. Also, it’s better not to mix
different styles. One exception can be the navbar:
168
Use icon packs, not icons
First of all, you don't need to create your own icons. That takes a lot
of time, especially considering that there are many free, high quality
icons on the internet. Second of all - don't pick icons from here and
there - use a full icon pack, such as Anron Icons, Koloicons or Iconly.
This way you're not risking that icons will be inconsistent. If they're
all from the same pack, they should all have the same styling.
All of these icons are from the same icon pack - Anron Icons. They
have a consistent styling, so I don’t need to modify the icons when
I’m designing, which saves a lot of time.
169
How to select & use icons in UI Design
In the remaining part of this chapter I will go through a few tips for
selecting and using icons in UI Design.
Usually, icons from the same icon pack have the same level of detail.
Icons on the left could work okay if they were Clarifying icons, but
for those that are interactive, simple is always a better choice. That
being said, if for some reason you decide to go for these more
complicated ones, make sure you do it consistently, so you don’t mix
very simple and very complicated icons.
170
Use scalable icons
The icons you use in your UI Design will most likely appear in a
variety of different scales - from small mobile phones, through
tablets, all the way to TVs (depends on the product, but be
prepared!). This is why it's good to test them in many different sizes
before deciding to use them. It's another reason to pick simple icons
- they will look way better at smaller sizes.
The icon on the left looks good for the bigger sizes, but at smaller
ones it’s completely unreadable. The simpler icon on the right is
readable at all sizes, because its level of detail is smaller.
That being said - if you’re designing a product ONLY for large screen
display purposes, such as TVs, you can try going with icons with a
higher level of detail.
171
Use icons with consistent line widths
Line icons can have a line width that varies. Many icon sets
nowadays let you modify the stroke width to any value you like, so
take advantage of it and make sure it’s the same for all icons.
If all icons you use are from the same icon pack, they should have
the same line width. However, there will be scenarios in which you
might need an icon from another pack, just because the one that
you’re using does not include it. In that case, make sure to modify its
line width so that it fits your collection.
172
Pair icon line width with different font weights
If your icons have a line width that can be modified, you can try
pairing them with different font weights if there’s a label near it. This
is a very small detail, but it can make your design really delightful! If
you can’t get the perfect match, just go with a pair of width and
weight that are closest to each other.
Home Home
This can also work really well inside text fields. If you decide to use a
text field with an icon, you can try making the perfect combination of
widths - icon line width, text font weight and text field box width. If
you can pull it off - great! But don’t try to do it if it’s going to result in
inconsistencies.
Text field, icon and text have very consistent line weights, which looks very good.
173
Icons replace text... or not
Even though icons are supposed to replace text, they don't have to.
In fact, they're much more understandable with a label under or next
to them. That means that if you have an icon that isn't very
commonly known, you should use it with a label so it's easier to
understand what it does.
$5912 $5912
This can make you wonder: “So why we use icons at all if we can just
use text?”. That’s a valid question - see, the same as people learn
what road signs mean, they learn what icons mean - except they
might need some help. Adding a label like on the right side makes it
way clearer for all new users. After they understand it, they don’t
even read the word “Income”. The icon is enough for them to
understand what the number means.
Most simple icons like Home, Search or Profile won’t need a label,
but it’s always safer to use them to avoid confusion.
174
All icons should be inside of a bounding box
Icons come in different shapes and sizes, but all of them should be
placed in a bounding box. This way the sizes and margins are
consistent and there are no half-pixels all over the place.
175
Some awesome icon packs
As I mentioned before, in most cases you won't have to create your
own icons. Here are some amazing, consistent icon packs you can
get on the internet and save countless hours:
Anron Icons
This pack was created by my friend Anton Lapko, and it consists of
over 1700 icons in 3 styles. All icons have editable line widths and
corner radiuses, which makes it extremely customisable. This might
be the only icon pack you’ll ever need.
Iconly 2
Another amazing pack I often use. This pack is smaller, but it
consists of all popular icons you might need in a modern look.
176
Streamline Icons
This is the biggest icon pack out there. It consists of over 30,000
icons in 3 styles. It’s HUGE! I often use it for more “niche” products,
in which I need very rare and specific icons, which aren’t included in
the previous two packs. All of them have a customisable line width.
Feather Icons
It’s one of the first icon packs I’ve ever used. It’s not as big as some
of the previous ones, but it has all the essential icons with
customisable line width. I don’t use it that often nowadays. It’s free
though!
177
Photos
Don't worry, you won't have to run around with a camera before
designing UIs! The internet is full of beautiful, free-to-use images,
ready to use in your work. Photos are the most "real" part of your
design - in other words, they're the closest thing to the real,
non-digital world your design will have. While everything else is
made out of abstract shapes and lines, photos of real things can add
massive value to the product you're designing.
Key content
178
Two types of photos in UI Design
Before we dive in, I believe it's important to divide images by their
type. There are two main types: photos selected from the product
side (by designers, product owners etc.) and photos added by users.
An example of the first category can be an image on the landing
page, and an example of the second can be a profile picture or an
image on Instagram. As designers, we only have the choice to select
images for the first category.
Explore Bali
Explore the beautiful city of Bali -
the heart of Indonesia.
TRAVEL
179
Explore Bali
Explore the beautiful city of Bali -
the heart of Indonesia.
TRAVEL
Also, try to show real people on your photos. This makes users trust
the site more, letting them “connect” with other people.
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
180
Avoid stock-looking photos
Avoid cliche, generic looking photos as much as possible. Authentic
photos not only look better, but are also more trustworthy, therefore
increasing the level of trust the user has for the product. Show real
people doing real things.
It’s not only about that overlay! It’s also about how real the images
you use are. Users should be able to connect with what they see on
the images. What you see on the left is disingenuine and clearly
fake. To achieve that “realness”, use photos without too much
emotion inside them. People on the photos you use shouldn’t look
too angry or too happy. Three people on the right are clearly happy,
but without expressing it too much, which is fine.
181
Use photos with high resolution
How many times have you searched Google, found an amazing
photo, you rushed to download this but then it turned out it's
600x400? I knew this happened to me a lot, and sadly you can't use
photos like that in your work. Pretty much every photo on
unsplash.com should be fine though. The higher resolution the
better. It can be compressed later if needed.
182
Use an overlay when writing on a photo
Photos are often used as backgrounds and they have text written on
top of them. To ensure readability and contrast, use an overlay on
top of the image. Just make sure it's not too strong, so that the
beautiful photo will still be visible.
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
183
You can even try a colorful overlay
Overlays don’t have to be only black or white - you can try using a
color, for example the Primary color that you use in the design. Just
make sure there’s enough contrast and that the photo is not fully
covered by the overlay.
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
For the last three examples I used a gradient, so that only the part
with text on top has a visible overlay. It’s absolutely fine to use a
solid, transparent color as well, like here:
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
184
Use images with a single focal point
If the user has to look around the whole photo to find what it's about,
it's not good! Use images with a clear purpose and optimally one
thing you want the user to look at.
185
The images you use should be consistent
The images you use in your project should complement each other
and look quite similar. This is a challenging task, especially if you
have to find many images, but it can be achieved quite simply by
using a color overlay. Add a subtle colorful overlay to all of the
images to make them look similar.
Photos: Teddy Hartanto, Daniel Leone, Samrat Khadka, Rohit Tandon, Unsplash
This changes the way that photos in your design look like, so if you
need to show a product as close as possible to reality (for example
products on e-commerce sites), it’s better to avoid it. Don’t treat it
that seriously too. It does not have to be 100% consistent, just
slightly similar.
186
If you want to avoid having changing the way that images look like in
your design by adding these overlays, you can always just spend
some time looking for images that look quite similar to each other.
This can be boring, but it’s rewarding:
Photos: Teddy Hartanto, Daniel Leone, Samrat Khadka, Rohit Tandon, Christopher
Burns, samsommer, Unsplash
Another amazing and simple trick you can do is to slightly modify the
image inside the design tool you’re using. Most design tools give
you the option to do small tweaks on your photos, such as changing
its Saturation or Temperature, which can be helpful.
187
Make photos lead to something
Studies have shown that when we see an image of a person looking
in a certain direction, we also look there. It's a common practice to
make images "lead" to something. This way you can use the image
to direct user's focus to a form, button, a header or anything you
think he should see.
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
Travel photography
Take our travel photography classes
right now and evolve your skills.
BEGIN
By using this method, your photos not only look good, but also serve
a deeper purpose - they lead the user to something important,
making it easier for him to find it.
188
The true reason to use images
I also wanted to give an example of the true reason why we actually
use images. Photographers often say that a good photo is not a
photo taken with an expensive camera. They claim that a good
photo tells a story. A story that can be perceived and understood
differently by different people.
Photos are also used to replace text. Of course, they can’t replace
every paragraph, because they’re more open to interpretation than
just written copy.
That being said, try to imagine this scenario: the user visits a site that
sells kitchen gear. This is the first photo that he sees:
189
He will probably just think “what is this, just some forks and knives?”.
The thing is - that photo does not really tell any story. Even though it
showcases the products well, it does not really evoke any emotions.
This photo does not even focus on the product. It shows a happy
family cooking together. They’re probably using gear sold by the
website, and they’re very happy! This is the true reason to use
photos - to evoke certain emotions and tell a story. This is one of the
fundamental rules of sales - people don’t buy because of logic, but
because of emotions, especially those positive ones.
190
Test your images with different aspect ratios
An image is rarely used in only one aspect ratio. Depending on the
screen size, an image that was initially 4:3 can become a 1:1, 16:9 can
become a 4:5 etc. It’s good to test each image in a few different
ratios and use it only when it works in most of them.
16:9
4:5
Of course, there are countless aspect ratios out there, but it’s
enough to test images in at least the ones shown above.
191
The “WOW” factor
It’s not really a scientific term, but it’s rather straightforward. Some
images can easily make the user go “WOW!!!”. They’re often
stunning and present something unusual and not seen very often on
the internet. The “WOW” factor can make the product more
memorable for users by triggering a strong emotional response. It’s
hard to define them, but you’ll know it when you’ll find a “WOW”
image!
192
Mind the license
Not everything you find on Google Images is free to use. Many
images require you to purchase a license to use it for commercial
purposes, such as client work. You can use it in your design
software, but before it goes public make sure you have the proper
license if you need one.
If you’re working with a client, make sure to let him know if an image
is free or if he should purchase the license before making the
website / app public. They often overlook those things.
Anyway, there are way better sources for amazing images than just
Google Images. On the next page I’ll share some of my personal
favorites that I use for most of my projects.
193
My favorite free sources for amazing images
You don’t need to run around with a DSLR or hire a professional
photographer to have awesome images in your UI Designs. Here are
a few of my favorite sources with free images.
unsplash.com
Unsplash is my all time favorite. It has pretty much every image I
ever need in very high qualities. All images there are free for both
personal and commercial use, and they don’t even require an
attribution (but it’s always appreciated!).
pexels.com
Another fantastic website with free images. If I can’t find an image on
Unsplash, I go to Pexels (that happens rarely though).
194
Illustrations
llustrations are a great way to present an idea in a visual, abstract
way. A well-used illustration can mean more than a thousand words.
With their simple shapes, they're frequently very user-friendly and
approachable. They're rarely just a decoration - just like photos, they
frequently complement text, for example on the landing page.
Key content
- Why we use illustrations?
- Illustrations vs Photos
195
Why we use illustrations?
The main reason to use illustrations is because they are easier to
"read" then text and they can present a concept idea in a visual way.
A well-designed illustration can communicate a message better and
faster than words would do. They're also very eye-catchy and
aesthetic, especially when subtly animated.
Illustrations vs Photos
The reason to use illustrations and photos is quite similar - they both
explain something in a visual way. Photos however are more
realistic, and illustrations - more abstract. With illustrations the
possibilities are limitless - the illustrator can design literally anything
to convey any message.
Both the photo and the illustration here show a group of friends. One is more realistic,
and the other one - more abstract. Photo: Naassom Azevedo, Unsplash.
196
Where to use illustrations?
Landing pages
The most important purpose of the landing page is to make visitors
familiar with the product and convert them into users. The most
common way to do that is combine a good copy with some visual
elements. You can use illustrations there to make visitors familiar
with what the product does.
Start
197
Onboarding / tutorials
Many apps often have tutorials for new users that teach them what
the app is about and what you can do in it. You can use illustrations
to, well, "illustrate" some of these features.
The example you see above does not really explain how to use the
application. It just shows what the app is related to - travel. Don’t aim
to explain every single feature of the app during the onboarding, just
the general idea. It’s better if the user learns by doing.
198
Achievements
Illustrations can also be used for gamification purposes. Instead of
using icons for achievements, you can use beautiful illustrations - for
example medals or badges. A great example is Duolingo - a
language learning app. They integrated illustrations into their UI in a
beautiful and playful way.
Apps that use achievements to motivate the user to keep using the
product often use small, vibrant illustrations to motivate him. They
look great, and completing one after another is engaging!
199
Progress
Illustrations are also used inside the app itself, for example in
Duolingo again. They use illustrations to teach the user different
languages. Their UI is very user friendly and approachable even for
a very young audience, so illustrations fit great.
Look at the examples above. Nothing stops Duolingo from using real
photos instead of illustrations! Look at these characters though -
they’re always smiling and seem very friendly, which works fantastic,
especially for the younger demographic.
200
Empty states
Empty states should be designed for almost every (if not just every)
If you think about it, illustration is not even needed here! You can
easily leave just text and button. However, it looks fun and engaging
201
404 pages
Mistakes and typos happen. Every now and then some user will type
the website address incorrectly and he will land on a 404 page. It’s
good to put some effort into designing it. Usually you will need only
an illustration, some text and a button that will redirect the user to
the home page for example.
202
Not every product should have illustrations
Even though illustrations are trendy and can make ideas visual, not
every product should include them. Illustrations tend to have a
playful vibe, so they might not be the best choice for companies
selling let's say luxurious jewelry or clothing. If you're unsure, you
can ask the product owner for his opinion or see what the
competition is doing.
We sell million
dollar yachts
Explore
Can you imagine if a website like this existed? A website that sells
luxury yachts is clearly targeted towards wealthy, serious people, so
a funny, engaging illustration is not the right choice. Illustration are
best for a rather younger audience. For older demographic it’s often
better to use real images, because they resemble the real world
more, especially for companies that sell real products.
203
Don’t use illustrations for real products
Be careful when using illustrations while designing online stores.
When the user is buying something, he wants to see the EXACT
product that he will receive, so it’s better to use a real photo. You
can still use illustrations for empty states, 404 pages or the
onboarding - just never use them for real products that the page is
selling!
iPhone 12 Pro
$999.00
Buy
iPhone 12 Pro
$999.00
Buy
204
Illustrations shouldn't be too small
Illustrations are much more complex then icons, so don't try to
decrease them to very small sizes (at least not complicated ones). All
details of the illustration should be visible, so pick a proper size, or if
you need to use them in a smaller size - for example, for a card -
you'll probably be better off just finding another illustration or an
icon. Otherwise, the illustration won’t be readable.
Community
Community
The details on the illustration on the left side are barely visible. When
possible, make illustrations large or just find a simpler illustration. I’ll
leave some of my favorite sources for illustrations at the end of this
chapter.
205
Keep illustrations consistent
It's best to keep illustrations consistent. Don't use many different
styles in the same product - when illustrations are introduced to the
website or an app, they become a part of the brand, so they should
be consistent, same as typefaces, colors etc.
WANTED
JOB
HIRING
HIRING
Same as you should use icon packs to maintain consistency, use illustration packs as
well. I’ll leave some of my favorite ones at the end of this chapter.
206
3D illustrations
3D illustrations are probably the biggest UI Design trend nowadays
(it’s January 2021 when I’m writing this). When used correctly, they
often lead to really stunning results, especially when animated.
207
You don't need to make your own illustrations
Creating illustrations can be very challenging, especially if you don't
know Adobe Photoshop and Illustrator very well. Good news! You
can find hundreds of beautiful, consistent and free illustrations
online.
storyset.com
My all time favorite. It has pretty much every illustration I need in 5
different styles. And guess what - they’re completely free! You can
even modify the colors, layers and animate it, all on their website.
icons8.com/ouch
Another fantastic collection. It has tons of different styles, free to
download in .png format.
streamlineicons.com
Streamline does not only have icons, but also a gigantic pack of
really cool and consistent illustrations. They can be downloaded for
free in low resolution, but it’s worth paying the price.
storytale.io
This page is full of really beautiful illustrations, including 3D ones! To
use them you need a subscription, but it’s worth checking out.
208
Cards
Cards are UI Design elements that consist of content about one,
specific subject. This content is usually an image, text and action
elements, such as buttons (or just icons that act like buttons). The
purpose of a card is to group information into responsive, easy to
browse through containers.
Key content
- What are Cards in UI Design?
- Anatomy of a card
- Testing cards
- Styling cards
209
Cards are a shorter version of a specific page
In most cases, cards are clickable, and after clicking them the user
goes to another page with a more expanded view for the content
A cool
cool plant
plant Another
Another plant
plant A big
big plant
plant
$3.99
$3.99 Buy
Buy now
now $4.99
$4.99 Buy
Buy now
now $7.99
$7.99 Buy
Buy now
now
They contain some useful information that will help the user make a
cover. If we don’t like the way the plant looks like, we don’t care
about how often it should be watered, what is the delivery time and
And that’s the purpose of cards - they help users decide on what
they should click and learn more about, and what they should just
skip.
210
“Think of a card as of a shorter
version of a specific page.
Next, figure out which content
from that page is important
enough to place on a card.”
211
Anyway, back to our example. After the user makes the selection
and he clicks on the plant that interests him, he will go to the product
A cool
cool plant
plant Another
Another plant
plant A big
big plant
plant
click!
$3.99
$3.99 Buy
Buy now
now $4.99
$4.99 Buy
Buy now
now $7.99
$7.99 Buy
Buy now
now
Another plant
212
Now, why is this important? It’s because your most important job as a
designer is to figure out which information is worth putting on a card,
and which isn’t. It’s easy to think that more is better, because the
user has access to more information without having to open the
product page, but if we put too much the card can get cluttered and
make the selection process even harder.
Now let’s think which ones are important and can fit in a card easily -
I’d say that a photo, recipe title, time needed to cook it, amount of
servings and difficulty level will be enough. Information like
ingredients needed or step-by-step process are not only very long,
but are also not the factors that are important to make a decision.
In this case we don’t really need a CTA such as “Buy now” like on
the previous page, but a Heart icon button could be useful to let
users save recipes for later.
213
Card anatomy
Let’s break a card into smaller pieces. They’re usually made with
simple objects, and they create a more complex component:
Header
Another plant
Short text
Some data
$4.99 Buy now Button
(i.e. Price)
The majority of cards are built with these elements. Sometimes the
text is longer, there’s more data or there are more buttons, but it’s
good to practice by creating simple cards first.
In fact, there are infinite ways to design cards, so don’t limit yourself
to the example above. As long as you’ve determined which
information is important, made sure that it makes it easier to make a
decision and looks clickable - feel free to experiment with designing
cards in many different ways.
214
Cards come in different versions
Another plant
Another plant
Another plant
$4.99
before starting a project. As you can see they’re mostly very simple,
215
Cards should be tested
As a designer, you can’t control the length of the name or
description of every product, or if every product has a photo.
However, you have control over how you deal with very long names
or lack of photos. Take a look at this example:
Looks terrible, right? This is what can happen if you don’t set clear
rules of what should happen when there’s no image for the product
or when the name and description don’t have any letter number
limitations.
The example on the right has some simple limits set for the number
of letters, and a placeholder icon that displays when there’s not
image. That’s enough to make it look way better.
216
Cards should look clickable
It’s important to make cards stand out from the background by a bit.
This indicates that they are clickable, and it can be done by adding a
subtle shadow. It’s also a good practice to add a subtle hover
animation - for example - on hover, the card and its shadow become
slightly bigger.
It’s important to make cards stand out from the background by a bit.
This indicates that they are clickable, and it can be done by adding a
subtle shadow. It’s also a good practice to add a subtle hover
animation - for example - on hover, the card and its shadow become
slightly bigger.
217
Other card styles
Not all cards have to be white and have a shadow under them. Even
though now it seems to be the most popular style, there are other
out there as well. You can try making a card with a stroke, or instead
of white fill and a shadow use a darker shade of the background for
card’s color.
From my experience, the first one will work best in most cases. It
looks great and clickable. However, feel free to experiment with
other styles as well. Just make sure you’re not mixing the styles
inside one website or app - inconsistency isn’t good.
218
White space
White space or negative space is the empty space between
designers - after all, it's easy to think you don't design the white
space, or that it's the only thing on the canvas that is not designed.
Key content
219
White space
When used correctly, white space is extremely helpful. It creates
focus on the rest of the content. It's "empty", but it shifts the user's
focus on to all the elements on the screen. It also lets the elements
breathe, making them much more legible and understandable.
Take a look at these two card designs. Which one of them looks
better in your opinion?
Vintage typewriter
Vintage typewriter
220
I’m pretty sure that you think that the second version is better. Notice
how all elements are exactly the same. All font styles, colors and
images are exactly the same. The only thing that has changed is the
This chapter will be shorter than the rest. There are no strict rules for
going to give you some tips you can use, but it comes down to
221
“White space is like the
supporting cast whose duty is
to make that the star of the
show stands out more by not
standing out so much
themselves.”
CanvasFlip on medium.com
222
White space makes the user focus on what’s important
The less elements are on the screen, the more the user focuses on
the elements that are on the screen. Read that out loud.
Start
Start
223
If you think that the second one looks better, I agree with you. But
think which really focuses on what’s important? The first or the
second one? The first one has only necessary elements, which are in
full focus, while the latter has illustrations to make the product look
better and give some personality to it.
I’m not saying that the first version is better. In fact, it’s hard to find a
website that looks like it - just text and buttons. I just wanted to use
this example to show that by adding more whitespace we create
more focus to what really matters.
224
White space should not be filled without a good reason
I can't tell you how many times I've been asked by the product
owner to "fill that empty space", because "it looks plain" or "it can be
utilized better". While sometimes that was true, adding some random
illustrations or stuffing more content on the screens was usually a
bad solution. Properly used negative space makes the user focus on
what's truly important, and it looks more elegant.
logo
Create an account
Full name
Tom Smith
Username
tom_smith
Password
·············
Next step
225
“Designers love it, website
owners want to fill it.
Whitespace seems to be one
of the most controversial
aspects of design.”
Paul Boag
226
Can there be too much white space?
A simple rule is that the more white space, the better. However, don't
sacrifice crucial elements of the design just to have more space.
Make sure the design can breathe, but also that it's functional and
has all the necessary features. An example I gave a few pages ago
with removing illustrations on the landing page is something that you
should almost never do. Illustrations or photos are great, even if
they’re only for decorational purposes, so don’t confuse having
enough whitespace with going 100% minimalistic.
Vintage typewriter
227
Some tips for using whitespace
Even though there are no strict rules, I have prepared some tips on
properly using white space. Feel free to try them out, but as I
mentioned before, as you progress you will develop an eye for the
correct level of whitespace.
Vintage typewriter
228
It clearly has too much whitespace, so let’s make elements a bit
tighter and see how it looks.
Vintage typewriter
Vintage typewriter
Bingo! Starting with too much white space is better than starting with
not enough and then trying to add it bit by bit, and then settling for
“good enough”. This short exercise can become useful when you’re
trying to develop your eye for whitespace.
229
“Unbox” products from photos to add white space
If you’re designing an e-commerce website and you have to deal
with a lot of product photos, you can try “unboxing” them by
removing the background and leaving just the product. This way the
whole thing looks way cleaner and better for the eyes.
You probably won’t be able to do that with all photos, but it’s worth
experimenting with, as you can really save a lot of white space in
your UIs.
230
Stay away from the corners
screen. It just looks bad and makes it harder to read! In fact, most
elements should stay away from the corners - maybe the top
navigation bar and the footer are an exception, but that’s it!
Okay, that’s an extreme example, but I hope you get the point!
231
You will soon develop an eye for white space
White space is one of the things that most beginners frequently get
wrong, because it can’t be brought down to a simple rule. There are
tips that state that balance between content and empty space
should be 50% to 50%, but these numbers aren’t all that specific.
I can give you many practical tips about other principles from this
book, but sadly there aren’t many for white space.
The best tip that I can give you is to take real, well-designed
products for an example - they were made by professionals that
most likely have developed an eye for white space already.
Observing how white space is used in those products and learning
from it will help you improve your skills in this matter.
232
How to explain the product owner that whitespace is good
It's not a book focused on communicating with clients, but this just
has to be addressed! It's very possible that when you will use
whitespace correctly, the stakeholder will say that it can be filled and
used in a better way. There are many better ways than filling the
white space right away. Here are some of them:
1. Social proof
Show them a relevant product that uses a lot of white space.
Designers behind successful products know the power of negative
space. You can show them a screenshot of their app with a lot of
white space to see that it's a common practice to use a lot of it.
233
Personality
I think that this chapter might be the most important one from this
whole book. The topic of personality is basically a connecting
almost everything we've talked about so far. The whole reason why
the decisions regarding your typeface, color palette and language
are important is because every design needs a specific personality.
Key content
- What is personality in UI Design?
234
Personality depends on brand identity
One of the first things you should do when designing a digital
product is understand what the brand that will own the product
stands for. What do they care about? Who is their target audience?
What is the demographic data of the target audience? If you're
unable to answer these questions, it will be very hard to select
assets that will make sense.
235
Personalities in real life
To make personality in UI Design easier to understand, think of a
personality as not something related only to design, but to humans.
When someone tells jokes all the time and is easygoing, many
people will consider him as funny.
When someone walks in a suit all the time, never laughs and uses
sophisticated words, people will consider him as serious.
When someone is 35 years old but plays computer games all the
time and does not care about anything other than that, many people
will perceive him as childish.
Same in design. The way that users will perceive a digital product
depends on many factors, such as colors, typefaces, photos or
illustrations used etc.
236
A few examples
Playful
Playful personality is kind of "childish" - vibrant colors, soft, rounded
fonts, colorful illustrations and funny language. It's clearly targeted
towards a very young audience, but can also speak to the parents
looking for something for their kids.
Let’s go!
237
Serious / formal
A complete opposite of the Playful personality. It has rather muted
and low-saturated colors, elegant fonts, often Serifs, uses real
images instead of illustrations and has formal language. It works very
well when you want to make the user feel secure.
Get started
Get started
238
Formal personality will work for products that want to seem
trustworthy. It’s not really aimed at the young demographic such as
children, due to its lack of playfulness.
Neutral / plain
Neutral personality is really, really simple. It uses assets and
language that aren't overstyled and focused on readability. It can
work for pretty much any product out there and is the safest choice,
but it also does not cause any extreme emotions in the user. It’s...
well, plain.
Collaboration platform
for modern teams
Get started
This personality is the safest choice out there because it does not
evoke any extreme emotions.
239
Personality should be consistent
Same as brand's personality should be consistent in different
channels (their social media profiles, their products, their newsletter
messages) - the same UI Design personality should be consistent
throughout the whole product. Some decisions are just straight up
bad - for example mixing Serif fonts with colorful, playful colors and
illustrations:
Let’s go!
This looks weird. Make sure that before starting the design process
you decide for which personality you’d like to go for. After that, you
can pick typefaces, colors, as well as decide if you’ll be using
illustrations, real images or both. Having this clarity at the beginning
of your design process will be very helpful in later stages.
240
Please don't feel constrained
ones. After all, the best brands are the ones that stand out from the
crowd, so don't just copy other succesful products. They more likely
rocket science. I’m sure you can tell what feels serious and what
With this chapter I wanted to bring one more important thing to your
Maybe you love pink color, rounded fonts and illustrations, but if
you’re designing a banking platform that might not really be the right
choice!
241
Personality cheatsheet
As I mentioned, you don’t have to be an expert to recognize if
something feels playful or serious. After all, you know best how
something feels to you. However, in this short cheatsheet I wanted
to give you a few examples of different design decisions and how
they impact personality.
Color
Typography
Roundness of elements
242
Roundness of icons
Language
Ending note
Don’t treat this cheatsheet (and this chapter) like some kind of an
oracle. Just keep the topic of personality in mind before starting your
next project. Also, if you’re designing something and it does not feel
right to you or your client, re-visit this chapter and maybe it will help
you find a solution.
243
Language
The topic of language in UI/UX Design has been a topic of
discussion for a long time now. Many people believe that it's
designer's responsibility to come up with a good copy, while others
believe that the client should just hire a copywriter for that. In this
short chapter I'd like to address some of these claims and ultimately
give some tips for using proper language as a designer.
Key content
- Dear designer, you’re not a copywriter
- What is microcopy?
244
Designers are not copywriters
The main objective of a business is to make money. The owner of
the product you're designing has the same goal. Writing a copy that
sells is way harder than you think, and that's why a profession called
"Copywriter" was born. Designers don't need to know copywriting.
You can recommend the client to hire a copywriter for optimal
results, and as a designer just write some generic, basic stuff where
final text will be put later.
Next step
Are you sure you want to cancel
your subscription?
Continue
Close Cancel
Finish
245
Text inside buttons
I’ve already mentioned this in the chapter about buttons, but text
inside buttons should be as specific as possible. It should precisely
state what will happen after clicking the button. Here are a few
examples:
This is really the only principle you should remember for text on
buttons. However, it can be hard to understand the importance of
button text without context, so on the next page I’ll show you how to
properly write text inside popups, where buttons also appear.
246
Text inside popups
Apart from buttons, designers should also write for all common
popups. A very common mistake is to use double negatives inside
popups, like here:
Cancel Yes
Confusing, isn’t it? We ask the user if he wants top cancel his
subscription, but after he taps “Cancel”, the window just closes.
Instead, he has to tap “Yes”, but that wording is just confusing!
Here’s a better alternative:
247
By providing the user with specific text on buttons, it’s easier for him
to predict what will happen after clicking them, so he’ll be able to
make better choices.
This is a popup for removing a file from a drive. In our copy, we’re
even giving the name of the file we’re removing, so the user can be
sure that he’s not removing another file by mistake. Also, the
wording on buttons states EXACTLY what will happen after clicking
them, without being too long.
248
Try to sound as human as possible
Don’t use complicated and sophisticated wording. Try to sound as
simple as possible so that many people will understand the
message. Also, whenever and error pops up, it’s good to suggest
user a solution, so that he knows what he can do.
It’s a simple change, but makes the design feel more human. Just
please remember that it’s not applicable in every single case.
249
Don’t use Lorem Ipsum
Lorem ipsum is dummy placeholder text used by many designers out
there. It’s put in places where other, final text will be placed in the
future. The problem is... it makes the design look terrible and not
realistic! Instead, just write some semi-realistic text about what
you’re designing. Take a look at this example
Lorem ipsum
Another plant
250
In the second version I wrote some really, REALLY random text! It
does not even make sense, but at least it’s kinda funny and related
to the product. Lorem ipsum however makes the first version look
random.
In some cases using Lorem ipsum just seems like the only valid
long article will be put later. Believe it or not, but even in this
Let’s say you’re designing a website for a blog about recipes, but
you have no idea how to write an article like that, so you use Lorem
ipsum. Instead of doing that, you can just google “recipe blog” and
copy the content from an article it to your design. Let the client know
that this article is not yours, and don’t worry - it won’t go public. It’s
251
Navigation
Navigation is one of the most important parts of a well-designed
product. It lets the user navigate through the app. If it will be hard for
the user to find what he's looking for, he will get frustrated and
probably just leave the app. Even if your design looks stunning, has
awesome animations and overall is just delightful, but it lacks good
navigation, the product will lose many users.
Key content
- Types of navigation in UI Design
252
Types of navigation in design
There are three common types of navigation in UI Design - visible
navigation, hidden navigation and contextual navigation. I think it's
worth to go through all of them in detail, because all of them exist in
most products. You should know when to use which one them and
how to design them properly.
Visible navigation
Visible navigation is usually a set of tabs (frequently with icons) that
contains a few of the most important pages of the product, with the
current selection being highlighted. It usually has a static position,
meaning that it does not scroll with the rest of the content, so it's
always easy to access.
Home
Examples of navigation for mobile and web interfaces. Visible navigation on mobile is
usually positioned at the bottom of the screen, and for web - on top.
253
Hidden navigation
Hidden navigation is not always visible and it requires the user to
click on something for it to show. It's main advantage over visible
navigation is that it usually can contain more tabs, as well as
expandable dropdown menus.
254
Contextual navigation
Contextual navigation does not consist of any tabs - it's just a
clickable link inside the page itself. A good example can be a
hashtag on a post on Instagram - after you click on it, it will take you
to that hashtag page. It's essential to navigate in most products,
even though in most cases when people think "navigation in UI
Design", they mostly think of the first two.
Healthy lifestyle:
The Basics
255
What to remember & which navigation type to choose?
The most important aspect of a well-designed navigation is its
accessibilty - that’s why visible navigation wins in most cases. The
only problem with it is the limited amount of choices - this type of
navigation works well only with up to 5 tabs. If you’re sure the
product will need more pages included in navigation, hidden
navigation might be the best choice. It’s also good becuase it saves
screen real estate - it might not seem like a lot, but for apps that
really depend on it (like Google Calendar for example) it will be
important.
256
Designing visible navigation
Home
The best type of visible navigation on mobile is a Tab Bar - it’s easily accessible and
lets the user switch pages quickly. Turn the page to see how to design it.
257
How to design a Tab Bar
There are many ways to design a Tab Bar, but the simplest
solution is to make a rectangle at the bottom of your mobile
screen - in width, it should cover the whole screen. In height, a
range between 60 to 84 pixels will work fine.
The width of this rectangle should cover the whole width of the screen, and height
should be between 60 to 84 points.
Then decide how many pages you’d like to have on the Tab Bar.
I choose four, so I will create four rectangles that have width of 25%
of the screen - so that when they are placed next to each other, they
will cover the whole screen. Next, place them on your Tab Bar to
divide it into four equal parts.
258
After that, place the icons in the center of each rectangle. We
created the rectangles to distribute the icons properly, so this should
be really easy.
Next, add a label under each icon. Make sure they’re centered.
Looks off, right? No worries, we just need to move the icons with
they’re labels up so that they’re centered vertically inside each of
our red rectangles.
259
Next, we can remove the red rectangles, and decide which page
should be currently selected (this will obviously vary throughout the
app, but it’s good to design it beforehand to see how it will look like.
In this case, I lowered the opacity of every element that is not
selected to 35%, so that they stand out less.
Home
And voilà! We now have a Tab Bar ready. This process will work
great in most (if not all) situations when you need to design visible
navigation for mobile. However, there are some good, practical tips I
wanted to share with you before we continue.
260
A basic rule of thumb is that if you’ve never seen a succesful product
with a specific icon used without a label in a Tab Bar, you should not
Never design a Tab Bar that looks like the one below, in which
some icons have a label and some don’t. Either use labels for your
Remember that it’s always safer to use labels for the Tab Bar. Even
not the main reason to use it. It should be used if you really care
261
Important tip for designing Tab Bars for iPhones
You’ve most likely seen that iPhones, starting from iPhone X all the
way up (when I’m writing this the newest iPhone is 12 Pro) have no
home button, instead the user navigates between apps using a
swipe-up gesture from the bottom of the screen. This is important,
because if our Tab Bar will be too small, the gesture might interfere
with the it:
When the user will try to interact with “Search” or “Liked” page, he
might encounter some problems due to the home bar. It’s good to
add some additional height to the Tab Bar, as well as center icons
and labels more towards the upper side, like here:
I expect that we won’t see a release of a phone with a home button anytime soon (if
ever), so it’s good to keep system gestures in mind when designing.
262
Visible navigation on desktop - Text Tabs
Text Tabs are a desktop alternative to Tab Bars. They're placed on
the top of the screen and usually consist of just text. They take less
space than navigation bars and on mobile they can also be scrolled
left and right. They can't really replace a Tab Bar on mobile because
they're harder to reach with the user's finger (they’re on top of the
screen).
I’m not going to dive very deep into designing text tabs, because if
you know how to design Tab Bars, Text Tabs should not be a
problem for you. However, I’ll give you some general tips.
The orange area is for the logo. The blue one is for Text Tabs. There
are no specific proportions for those, just remember that Text Tabs
rarely cover the whole screen.
263
Using buttons in Text Tabs
Unlike on mobile, you can actually add buttons to visible navigation
on desktop. Make sure that they’re spaced out properly and have
the same font size as other tabs.
27 27
Above you see an example of bad spacing - you should consider the
margin between a Text Tab and the button, not the Text Tab and the
text inside the button. Here’s an example:
27 27
Positioning buttons
Don’t position buttons in between of other text tabs. This looks
distracting and might even be confusing.
264
It’s best to position buttons as last elements in a set of Text Tabs.
This looks better and is also easy to read.
265
On the previous page you can see a complex dropdown menu from
the landing page of Asana - a project management app. Instead of
fitting all these pages to the navigation bar, they’ve created a
beautiful dropdown, from which the user can select what interests
him.
Home
266
Hidden navigation - sidebars
The most common type of a hidden navigation is a sidebar. They're
usually accessed by tapping on a "hamburger" icon in the top left
corner. Their main advantage is that they can have more items than
5, as well as that they save some screen real estate, unlike visible
navigation. However, because they're not always visible they're
much harder to access, especially on mobile, because the user has
to reach to one of the hardest places of the screen to access it.
Home
267
Sidebar - the basics
The fundamental difference between designing Tab Bars and
sidebars is that icons inside Tab Bars are distributed equally
throughout the whole width of the screen, but icons in sidebars are
not distributed equally throughout the whole height of the screen.
Take a look at this example:
Home
268
Elements of the sidebar do not have to be spaced out so much. It’s
way better to pick a margin based on your spacing scale (see
chapter about grids) and space icons without having to cover the
whole height of the screen, like in this example:
Home
269
Additional elements on a sidebar
Big advantage of using sidebars is the ability to add various
elements, such as additional information, buttons or even a logo.
Just don’t overload it with unnecessary elements.
Anna Smith
Home
270
Designing a sidebar
screen (or any other screen from which you can access the sidebar).
After that, put a black overlay with an opacity between 60% and 70%
Imagine there’s real content there. It’s not really important for this tutorial.
271
After that, on the left side add a white rectangle with a width of 70% -
80% of the screen (these values only apply to mobile design, not
desktop). You can also add a drop shadow with a small, positive X
value (like 10 for example) to add some depth.
272
Next, add a margin from the edge of the screen - it can have the
same value as the margin you use for this mobile project. My
recommendations are 20px or 24px, but more on this is in the
chapter about grids.
273
After that, create a few temporary rectangles (like the red ones we
used for the Tab Bar) to space icons and labels properly. Don’t start
placing them from the very top - leave some empty space there as
well.
274
Next, simply place the icons and labels inside red rectangles, making
sure they’re vertically centered. Also make sure that icons are
aligned to your margin to make the spacing consistent. At this step
you’re pretty much done.
Home
Search
Liked
Profile
Settings
275
Finally you can remove the lines and rectangles, as well as change
the opacity of pages that aren’t selected. You should now have a
beautiful and simple sidebar done and ready to use in your designs.
On desktop, the process is really similar.
Home
276
Contextual navigation
Contextual navigation is a part of the content on the screen. It can
be a clickable link inside a chunk of text, a hashtag on Instagram or a
tag under an article. It can exist inside of the product regardless if
you choose to use visible or hidden navigation. Designing it is fairly
simple - it comes down to highlighting that something on the screen
is clickable.
Read more
Read more
The “Read more” on the left can be understood as a part of the preview text, so it’s
good to increase opacity or even add some color to indicate its clickability.
277
Another good way of achieving the same result is making the button
look more like a button by making it a “chip”:
Read more
278
Navigation - ending note
This was one of the longest chapters in this eBook! I really hope that
you got something out of it. While navigation designing navigation in
terms of UI Design is not really hard (I hope that after reading this
chapter you agree!), knowing when to use which type is important.
Every app or website is different and sadly there’s no one navigation
type that fits all purposes.
279
Microinteractions
Microinteractions and animations are an essential part of a
well-designed product. They're often a thing that differentiates
average apps from these really delightful ones. Proper usage of
microinteractions are a great way to provide feedback for user's
actions. In this chapter you’ll learn the basics of using them.
Key content
- Animations vs Microinteractions
- Examples of microinteractions
280
Animations
I won't be able to show you any examples because this is a PDF, but
I will try to cover the most important parts of the matter. Animations
X = 130 X = 330
Duration: 2s
Y = 274 Y = 274
If this animation was coded, the blue square would move by 200 pixels to the right in
2 seconds.
Microinteractions
When you play a YouTube video and you use the slider to go
through it, it's a microinteraction. When you're waiting for the content
281
Why we use microinteractions?
In simple words, we use microinteractions to give the user feedback
for an action he triggered. If he presses "Send" on Gmail, he will see
a popup saying that the email was succesfully sent. This way he
knows it worked, and he did not missclick or something like that.
Microinteraction vs animation
The main difference between microinteractions and animations is
that microinteractions are a result of a conscious action taken by the
user, while animations can be purely aesthetic and happen on their
own - they don't show any change of state, but just an effect to
delight users.
282
“The most important purpose
of a microinteraction is to give
the user feedback for an action
that he performed.”
283
Different transition types
The most common types of animations are linear, ease in and ease
out. I believe it’s important to go through them in detail, because
they’re usually supported in most design tools like Figma or Adobe
XD. More advanced interactions require learning additional tools and
to be honest - they’re a field of their own.
Linear
Objects that feature a linear animation type move in the same speed
during the whole animation. In the middle of the duration of the
animation, they will be exactly in the middle of their path.
0s (start) 1s 2s (end)
Please note that linear animations do not look very natural. Most
objects in real world need to accelerate before getting to a certain
speed. Imagine if a car started at 100 km/h. It first needs to
accelerate for a few seconds.
284
Ease In
Objects that feature the Ease In animation type start moving (or
changing their state) slowly, just to accelerate after the half-time of
the animation has passed. It’s kind of like an accelerating car.
0s (start) 1s 2s (end)
Ease Out
Opposite to objects with Ease In animation type, objects with Ease
Out animations start fast and end slow. It’s kind of like a braking car,
that is slowing down after driving fast.
0s (start) 1s 2s (end)
285
How long should microinteractions be?
There are no specific rules in terms of the duration of
microinteractions. However, my advice would be to create
microinteractions with a duration no longer than 1000ms - or one
second. Most users use apps pretty fast, and animations should not
be slowing them down.
Examples of microinteractions
Now that you understand what microinteractions are and why we
use them, I’m going to give you a few examples of them. Sadly you
won’t be able to see them in “their whole glory” because it’s a static
eBook, but these examples are quite common, so I’m sure you’ll get
the point.
Switch
Checkbox
Microinteractions are often used for form elements, like switches or checkboxes.
These animations are very subtle and short.
286
Tab Bar
Switching icons on a Tab Bar is a great place to add a very subtle and short
microinteraction. Most users won’t notice it, but it’s delightful!
Button
Continue Continue
This button animation would be triggered after the user hovers his cursor over the
button. This way he can be more certain that it is clickable.
287
I hope you get the idea. Microinteractions are very subtle, and that’s
how they’re supposed to be. Someone could argue that they’re not
necessary for a digital product to function properly, and that’s partly
true - a product is usable without animations and microinteractions,
but it’s simply not delightful.
288
Alright... so what now?
I highly encourage you to experiment with microinteractions and
animations on your own. Simple ones, such as the ones I’ve shown
you a few pages ago, can be easily created in free design tools such
as Figma or Adobe XD. They’re really easy to create.
I’m sorry that I couldn’t show you more in this eBook. If we ever get
to embed a video inside a .PDF, I’ll update this eBook with some
real, dynamic examples. Until then, I encourage you to go to
YouTube and search for example “Figma animations” or “Adobe XD
animations”. There are many free tutorials that will teach you how to
create microinteractions in practice. This chapter taught you the
most important aspects of theory and hopefully now you understand
what microinteractions are, as well as why and where to use them.
Leveling up
If you’re really serious about mastering animations and
microinteractions, my friend Alex has released an amazing course on
the topic of Motion Design. It will teach you everything you need to
know, starting from a deep dive into theory, ending at creating
stunning animations. This mention is not sponsored or affiliated. I just
think he did a great job with that course. If you’d like to join it, visit
him on Instagram: @alexunderhess.design.
289
Tools to create animations and microinteractions
Before we end this chapter I wanted to share some great tools for
creating animations and microinteractions. Some of them are free,
some of them are not, but all of them are really useful.
Apart from being an amazing UI Design tool, Figma also has a lot
of great prototyping features, so it’s most likely all you really
need to begin your adventure with motion design.
has way more fantastic features than Figma, and the tool itself is
very well designed. If you want to level up, it will be great.
One of the most advanced (if not the most advanced) 2stools
(end) used to
290
What’s next?
You’ve just finished reading the “main” part of the eBook, in which
you’ve learnt all the important things about various elements and
designer, you might still feel a bit lost. In this chapter I will share
some tips and tricks that should help you kickstart your journey.
Key content
291
Every UI Design is made out of elements
A significant majority of this eBook is dedicated to explaining UI
Design principles, as the title suggests. Teaching you how to design
a specific screen would be easier for sure! I could just say
something like “draw a rectangle here, place some text here” etc,
but after something like that you’d just know how to make that
specific design, which is not the goal of learning UI Design. Instead,
I think that if you learn to design various elements and learn to put
them in a layout, you’ll learn UI Design faster and easier.
Find a perfect
job for you
Brand Designer
$50 / hr
UI Designer
$65 / hr
292
Now, why is this important? It’s because if you know how to design
individual components and put them in a layout that makes sense,
based on hierarchy, you can design anything you want.
Just think about it. Every UI Design is made out of simple elements
like text, rectangles, circles etc. Design tools are really easy to learn,
which means that if you learn how to design individual components
properly, you can design anything you want.
293
this process will be. How to practice? More on that below.
294
Daily UI challenge - a great way to practice UI Design
Daily UI is a series of daily design challenges, design inspiration and
some cool surprise awards. Every day, you get a challenge to
design something different, and the challenge lasts 100 days. This
way you can practice daily with 150,000+ designers that have
already completed the challenge. You can also post that work on
social media for 100 days straight, so you get additional motivation
to complete the challenge and grow your account.
295
My UI Design
process
In this chapter I wanted to share my exact process of creating UI
projects. You don't need to follow along. You can just check out my
process, see if it makes sense for what you're doing and try it out
296
Before we start...
Of course, I can't share the way my brain works with you. A huge
gain as you practice. At first you probably won't have a lot of great
ideas, but don't try to create perfect work. You will become better as
you progress.
Also, this is just my process. I’m just one of many designers out
there. I don’t pretend it’s the best, or I can’t even guarantee this
However, if you like my work and you’d like to see how I create it,
dive deep into this chapter! You can try replicating my process and
Oh... and it’s not anything original or unpopular. I use the same
design you don’t get extra points by using original and sophisticated
If any part of this process is unclear - please let me know. You can
anything.
297
My 6 steps
Here are the 6 steps I go through whenever I create UI Designs:
6. Present it properly
298
1. Understand the problem
It's probably the most important part of any process that ensures that
the design will be usable. If you're working with a design team or
you have UX background, you will most likely won't have trouble
defining and understanding the problem. For creating concept
projects I don't put a lot of effort into it because the designs won't be
used in a real life scenario.
299
2. Create very rough sketches
I can’t stress this enough - DO NOT pay attention to how they look -
in fact, the more ugly they are the better. They are supposed to be
very quick and simple. Don’t try to think about fonts, colors and
other stuff like that at this stage. At this stage, 10 ugly, but different
sketches are better than just 1 pretty sketch. In other words, at this
stage quantity > quality.
Some rough sketches I made a long time ago. Notice how ugly they are. They only
took a few minutes to create, but they were really helpful.
300
3. Create detailed wireframes
After I'm more or less happy with the sketches (they don't need to
be perfect, again!), I use Figma or Whimsical to create more
detailed wireframes. This gives me clarity and makes the design
somewhat "presentable", so I can show them to a client for
example. This way we're both on the same page and I won't be
wasting time creating UI's for a badly designed solution.
This is really the very first time that me or my client have a clear
vision of how the final product can look like. Detailed wireframes is
pretty much a set of finished screens, except they obviously lack
real content and assets, but that’s fine at this stage.
Quite detailed wireframes created in Figma. I used the wireframe kit called iFrame by
piqo design. They took only a few minutes to make!
301
4. Select assets - e.g. fonts and colors
After the wireframes are done, I choose fonts, colors and icons for
the project. I might also pick some photos or illustrations. If I'm
working with a client I include him in the process and we make sure
that my picks align with the brand personality. If I'm working on a
concept, I'll just pick assets that I think will look well together. I
sometimes also create a color palette and type scale at this stage.
It’s really good to have clarity of what assets you will be using
during the project. You can discuss this decision with a client before
creating a single screen so that there will be no misunderstandings
during the process.
Sora
302
5. Applying assets to wireframes
Obviously it's easier said than done, but after reading this book you
should have a solid understanding of how to do it. This is why I put
a lot of attention and effort into the third step. Well-made
wireframes make these final steps so much easier.
After this step it’s pretty much done. It’s basically connecting
detailed wireframes and assets together to a real screen.
303
6. Presentation
When I'm creating a real project, I'll usually hop on a call or send a
Loom video to present my work to the client. Just sending him the
screens is a bad idea, because the client does not get to hear any
explanation and reasoning behind my decisions. Even simply
sending the client a Loom video with an explanation can massively
reduce revisions and save a lot of time. Always remember that your
clients most likely have less UI/UX related knowledge than you do.
If you can explain your decisions well, you will save a lot of time and
make your clients happy.
304
Attracting clients
and followers with
your designs
This is a short guide in which I included my learnings from
leveraging social media to get clients and build an audience. If
you’re able to get attention of clients on social media, you can start
freelancing full time - at least that’s what has worked for me.
305
Before we start - a word about UI Design on social media
You've probably heard of a platform called Dribbble. It's essentially a
social media platform made for designers to share their work with
the world. After sharing they work they can get feedback, build an
audience and get clients. Seems great, right?
Well, for me it is. But there are many people that have a huge
problem with Dribbble. It's mostly because many designers are
artists there. The majority of UI Designs published on Dribbble aren't
usable in the real world. They don't follow basic principles and don't
solve any problems. After all, they're just concepts!
306
Another reason why I like Dribbble is because there are many
potential clients there. Even though there's a lot of competition, it's
not a rare thing to post a few shots there and get a client. In this
chapter I want to focus on how you can use platforms such as
Instagram and Dribbble to attract and get clients. I will share things
that have worked for me and for many other creators.
In fact, those tips will not only help you get clients and build an
audience. After implementing them you are much more likely to get
awarded with the most important and one of the most scarce
currencies in the world:
Attention.
By becoming noticed your work gets seen and your profile grows
bigger and bigger (same as your bank account if you learn how to
close deals with potential clients!).
And in this bonus chapter I want to show you how to do it, based on
what has worked for me.
307
1. Post pretty stuff
That's the reality. This is what is valuable on social media -
eyecatching, inspiring work. If you will put the majority of efforts into
posting designs that are usable and very well-thought, chances are
you will get worse reach than work that's just pretty.
Is this brutal? Well, I’m not here to judge. Most designers are used to
the fact that social media is full of designs that could never be
implemented to a real product.
308
2. Create something everyday
This is the single best piece of advice I can give to any creative
person out there. When I was learning UI Design, I used to wake up
at 5 AM everyday and create a concept project just to learn. I wasn't
getting many clients, but I was practicing and posting my work on
Dribbble and Instagram everyday. This not only leads to
improvement, but also quicker growth on social media.
When I was doing that, I was growing maybe like 20 followers a day
on Instagram and maybe 5 followers a day on Dribbble, and I was
not getting many clients. However, I was really passionate about UI
Design, so I kept going and first clients started rolling in, one after
another.
There’s really no downside to creating every day. If you like the thing
you’re doing, creating every day will lead to exponential
improvement, as well as building an audience and getting leads.
309
3. Please, get out there with your work!
Instagram, Dribbble, Behance, uplabs, Facebook, Upwork, Twitter,
LinkedIn...
After all, why grow on one platform if you can grow on multiple ones
with the same piece of content?
310
4. Make it incredibly clear that you're open for freelance gigs
Make sure your potential clients know that you're looking for
full time and aren't open for work, so if you are - make it clear. Add
Same goes for Instagram - your bio is the best place to describe you.
Add something like “DM me for freelance work” there, or better yet
story once a month saying that you’re a freelancer and you’re open
311
5. Make work that relates to your target customer
A few months ago I created a concept called "eBank". After I posted
it, a few people messaged me asking if I'm open for work, because
they have an idea for an app that has to do with banking, money etc.
It's not a coincidence! People often look through Dribbble looking for
specific things. If a client has an app about travel, he might search
Dribbble for "travel app". If he finds your shot there, he might reach
out!
So in short - create work that relates to your target client. You’re not
likely to get a banking app gig if you’re only posting food delivery
projects (and vice versa!).
312
6. Be aware of trends in the mobile app industry
And I'm not talking only about UI trends. There are many app
categories that are basically a good business idea. If a client has not
idea what app he wants to make, he can just google "mobile app
trends 2021" and he'll have new ideas. If your concepts will be made
gig!
That does not mean that you should blindly follow trends, but if
you’re really looking for some work, following trends can be a good
thing to do.
It does not apply only to mobile app industry - generally, every tech
startup will need a designer. While you can’t predict the next
million-dollar idea (at least I think so, but if you can let me know!),
313
7. Present like a Pro
Your work instantly looks way better if it's presented nicely. Add a
pastel background to your screens, tilt them slightly, add a nice
shadow and stuff like that. You can look at what other creators on
Dribbble area doing. This really makes your work reach way more
people!
Which one of these do you think will perform better? Even though
it’s the same UI Design, the presentation on the right looks way
better, at least in my opinion.
314
An incredibly important message about working with clients
Creating “just” pretty work for social media purposes is tricky.
The problem was - these concepts were not realistic! I couldn’t create
the same thing for his app because it would be terrible to use for the
users.
So I created the best version I could, but he was not fully satisfied. He
said that it’s not exactly what he was looking for. After some revisions
he was happy, but I definitely learned something new.
And that is: always make sure that projects you post on social media
are not completely different from your “real” work. Otherwise, your
concepts might turn out to be deceiving for clients who don’t fully
understand the value of usability and just focus on the looks.
315
Ending
Congratulations! You just finished reading UI Design Principles.
Please, don’t go just yet. There are a few more things I wanted to
share, just one or two pages.
316
Please reach out to me!
As I mentioned in the introduction to this eBook, this is not its final
version. There will be future updates that you will receive for free.
They will include new chapters as well as corrections to the current
content. I’d really appreciate your opinion and testiomonial about
what you’ve just finished reading. You can click or tap here to
access a Google Form in which you can share your testiomonial.
317
Thank you!
@michael.filipiuk
318
End credits
Photos for this eBook were either taken by me or they come from
unsplash.com.
The idea to write this eBook came to my head after reading a few
different eBooks and watching some courses about UI Design.
319