Compact Guide To Web Design Reading Sample
Compact Guide To Web Design Reading Sample
Compact Guide
to Web Design
Designing User Interface Elements
1
Preface
When designing user interface elements from companies such as Google and Ap-
of a website, such as headers, there are ple for universal insights from business
a number of things to consider that are practice. I then reviewed more than 1600
difficult to find on the Internet and have UI elements of 200 well-known websites
not been mentioned in any book to date. (see Appendix A-3) to see if they corre-
Until now: this book is the result of three spond to these statements as well as my
years of research that can save you the own findings from web design projects.
time-consuming search for helpful best
practices. By comparing them, I was able to filter
out some statements from books and
In this book, you will learn how to design online sources that are now outdated
visually appealing and user-friendly in- or not generally valid, so only the rele-
terface elements for websites. First, the vant best practices and guidelines were
most important basics of web design are included in this book.
explained, including topics such as color
schemes, responsive web design, and This book is for:
usability (see Chapter 1). This is followed
by descriptions of the purpose of user
interface elements and over 450 best ĵ Web & UI designers: gain new
practices for using them (see Chapters 2 insights into web design and
to 7). design inspiration
You will also find lots of information for ĵ Media design & interaction
reference, such as an overview of suit- design students: learn the
able fonts (see Appendix A-1), as well as basics for designing websites
a collection of recommended design and best practices
systems, blogs, resources, and tools (see
Appendix A-2). ĵ Web developers & computer
science students: learn the
As the basis for the book, I searched over purpose and terminology of UI
600 online sources and 50 books for best elements of websites
practices and guidelines for the design
of websites. In doing so, I included find-
ings from usability studies conducted by I hope you enjoy reading and have a
companies such as the Nielsen Norman steep learning curve!
Group and reviewed design systems
2 Preface
Procedure
The book is based on a four-step process:
Identification of Common
STEP UI Elements of Websites
4
5 Navigational Components 7 Infographics
5
Chapter 3
Typographic
Components
6
Font Categories
For typographic components, use fonts that are easy to read and match the
content and audience of the website. Fonts from the following font categories are
particularly suitable for websites:
A
Sans Serif
Sans serif fonts
with a modern,
minimalist feel
Sport
Technology
Start-ups
Montserrat
Fira Sans
Lato
ASerif
Traditional or classic
looking fonts with
serifs
Cosmetics
Banking
Science
Lora
Crimson
Alegreya
A
Slab Serif
Thick fonts with
block-like serifs
Advertising
Technology
Automotive industry
Arvo
Zilla Slab
Bitter
A
Script
Handwritten look,
elegant, feminine
fonts
Fashion
Wedding themes
Baby themes
Olivier
Cookie
Pacifico
A
Decorative
Fonts with highly
stylized, eccentric
letterforms
Products for children
Food
Baloo
Chewy
Medula One
Fonts from the categories sans serif and serif are suitable for both body text and
headings. Fonts from the categories slab serif, script, and decorative are especially
suitable for headings. Because of their good legibility, fonts from the sans serif
category are most often used on web pages.
Bubble Corals
Another well-suited
font combination
consists of a serif font
Plerogyra Sinuosa like TheSerif with a
sans-serif font like
Source Sans Pro.
Happiness
like Calisto MT.
52 Typographic Components
8
Wide Fonts with
Narrow/Normal Fonts
Explore
Wide fonts like Montser-
rat provide an appealing
contrast to narrower or
the Mountains normal fonts like Source
Sans Pro.
1 HOME
2
Smart Home
Solutions
Flexible smart home solutions
3
tailored to your home
Project request
10 Typographic Components
54
Techniques for Short Headings
Short headings are more eye-catching, look better, and can lead readers to the
content they are looking for more effectively than long headings. The following
techniques can be used to keep headings short:
Forever
& Ever
SPORTS IN THE
LIVESTREAM
SUMMER OFFERS
EARLY BIRD
THE
60 % Cheaper
Sunglasses LABRADOR / Retriever
Main Heading
Follow-up line
Heading
Main Heading
Follow-up line
Heading
12 Typographic Components
56
Large Font Size Short Main Heading
Aquariums Example of a
Too Long Main Main Heading
We have selected the ten most beautiful Heading, which with less than
show aquariums in the world
Contains over 60 characters
60 Characters
Dive In Compact Guide to W Compact Guide to W
News - Web Design C Contact - Web Desig
SMARTHOME
Haute Cuisine
SPACING
COOKING
Haute Cuisine
S PA C I N G
14 Typographic Components
58
Best Practices for Subheadings
2-3x
Subheading
Subheading
Subheading 1
Subheading
Subheading 2
Subheading
Subheading 1
Subheading 2
1.1.1.1.1 Subheading
Exemplary Sub- Exemplary
heading Subheading
1.1.1.1 Subheading
16 Typographic Components
60
Best Practices for Font Size
Always use a larger font size for headings than for body text so that they stand out
from the body text and attract the eye more. It's a good idea to create a heading
hierarchy based on a type scale calculator like the one at type-scale.com, where
the font size of each next larger heading level is multiplied by a certain factor.
As recommended by Joseph Mueller (2018), hierarchy levels should be based on
website type:
Marketing Sites
http://www.typographytipps.info
Texts of blogs, articles, etc. are format- 1 Drop cap (optional): to highlight a
ted as body texts as long as they are not new section or to provide entry points
interrupted by headings, figures, tables, for the reader.
and similar items.
2 Text section/paragraph: to improve
readability and avoid the impression
of a monotonous text, longer texts
should be divided into small sections.
ShoutEx Inc. (2017) recommends sec-
tions of two to three sentences each.
Nielsen & Loranger (2006) recom-
mend a maximum of five sentences
per text section or paragraph.
18 Typographic Components
62
Best Practices for Optimizing Legibility
Avoid very short or very long lines of text. Very long lines of text make it diffi-
cult to stay on the right line. Very short lines of text require the eye to return to
the lines too often and interrupt the flow of reading. A line length between 50
and 75 characters is recommended.
0 50 75 90
Ideal Lorem ipsum dolor sit amet, consectetuer adipising elit. Etiam bibendum
elit eget erat. Etiam dui sem. fermentum vitae, sagittis id, malesuda in,
quam. fermentum vitae, sagittis id, malesuda in, quam.
Too long Lorem ipsum dolor sit amet, consectetuer adipising elit. Etiam bibendum elit eget erat. Etiam
dui sem. fermentum vitae, sagittis id, malesuda in, quam. Lorem ipsum dolor sit amet, consec-
tetuer adipising elit. Etiam bibendum elit eget erat. Etiam dui sem. fermentum vitae, sagittis id,
malesuda in, quam.
WCAG 2.0 18 pt
Standards
This is an example text that
demonstrates the influence of upper
and lower case letters on the legability
of a text.
20 Typographic Components
64
Other Best Practices
Embedding Long Texts Only in Highlight only a few words of body text in
bold. This way, the words in bold do not
PDF Version disrupt the flow of the text.
22 Typographic Components
66
Best Practices for Lists
Color Color Design
Design
Brightness Brightness Marketing
Marketing
Contrast Contrast Support Support
Statistics
Statistics
Make sure that numbers or icons Make sure that the line lengths
stand out from the list items. For are similar to achieve a smooth,
numbers, you can achieve this, for uniform-looking typeface. Also,
example, by using a colored box structure each list item in the
in the background, a larger font same way, such as starting each
size, or a different color. list item with a noun or verb.
Heading
01 This is an example text.
Sleeping bag
Swimsuit for our trip to the
waterfalls
01.
Sunscreen
Two-Line
Heading
Sleeping bag
01 Single-Line Heading
Swimsuit
Sunscreen
email Email the city City
24 Typographic Components
68
Best Practices for Icons in Lists
Make sure that icons have consis- Visually align icons in back-
tent shapes. If necessary, enclose ground shapes when a mathe-
icons with different basic shapes matically exact centered align-
in a background shape so that ment does not look balanced. For
they look consistent and propor- example, move a triangular icon
tional to each other. in a background shape slightly to
the right to make it look bal-
anced and harmonious.
Email
Send us an email
Visit
Visit us
Email
Send us an email
Visit
Visit us Sufficient Spacing between
Icons and Texts
Statistics Statistics
2 3 4 5
Alerts are used to provide feedback that 1 Accent border (optional): line in
applies to an entire page or website. They an accent color that can be used
can be used when on important alerts to attract more
attention
ĵ an error has occurred
2 Icon: has the purpose of communi-
ĵ a system status could lead to an
cating the notification status more
error in the future
quickly (e.g., whether it is an error
ĵ users are in offline mode notification or a warning notification)
26 Typographic Components
70
Best Practices
Logo
Info: User-dependent action
Page Title
Warning: Missing permissions
Error: Internal server error
Seitentitel
Error
Internal server error
28 Typographic Components
72
Best Practices
Akira Wang
Project Manager
30 Typographic Components
74
Best Practices
to the person
systems on the market.
Jane Doe
Web Designer
Patrick Meier
Manager company xy
The software is the right choice
for me because of its user- Since the relaunch of our online store,
friendly and modern interface. our sales have increased by 200%, which
is truly an amazing increase in sales.
READ MORE
John Doe
Web Designer
Pull quotes are short excerpts of text that 1 Accent border or text box with a
are used to highlight important ideas in background color (optional): to
a text using typographical means such emphasize the pull quote
as a larger font size. Pull quotes can be
2 Quote: usually formatted in a larger
used for the following purposes:
font size than the body text; a short
ĵ to make readers curious about text text excerpt should be used for an
ĵ to help readers visually scan the page appealing layout; Scott (2015) and
ĵ to make long texts less monotonous Pilcher (2013) recommend a text
ĵ to better convey a text's message excerpt of up to two sentences, Bear
(2019) recommends a maximum of
five lines of text
32 Typographic Components
76
Best Practices
Make sure that the pull quote For left-justified pull quotes,
stands out sufficiently from the do not use opening quotation
body text. Most important is marks in the body of the text
sufficient white space around so that the alignment looks
the text excerpt. Tilda Publishing consistent. If necessary, add a
(2018) recommends 75-120 pixels closing quotation mark before
of white space from the sur- the body of the text to identify it
rounding body text. In addition, as a quote.
the following can be used:
ĵ large and/or colored font
ĵ different font "A logo is good if you can
scratch it in the sand with
ĵ large quotation marks
your big toe."
ĵ text indentation Kurt Weidemann, Typographer, Designer
ĵ box with background color
Svenja Mueller
$35,000 Bremen Approved
Graphic Designer
Patrick Meier
Programmer
$38,000 Hamburg Approved
Peter Beck
Illustrator
$40,000 Cologne Rejected
1 2
34 Typographic Components
78
Best Practices
Ideally include only a single word Match the shape and size of
with a few letters or a number badges to the content. Use a
in badges, maximum 2 words. circular shape for single-digit
Lengthy or multi-line badges do numbers and a pill shape for
not look appealing. multi-digit numbers. For text,
you can use a pill shape, a round
ACTIVATED ITEM ACTIVE shape, or a sharp-edged shape.
123
3
Number
Minimized Danger of
Confusion with Buttons
METHODS
Color Coding
12 Tips for Better Meetings 12 Tips for Better Meetings
METHODS April 5 Use color coding for badges with
multiple categories. This makes it
easier for users to distinguish be-
tween categories and notice new
or changed items when scanning
Clear Separation of Icons multiple badges.
Blocked +3
3 3
1 2 3
ĵ reviews
ĵ awards
ĵ downloads/sales
36 Typographic Components
80
Best Practices
1600 100.000
THE WEBSITE
1600 100K
1350+ 1500+ 2000+ 1500
DAILY VISITORS REVIEWS QUADS UND ATVS DAILY VISITORS REVIEWS RESELLERS
Animated Numbers
Large Numbers
Implement counters so that when
Design the numbers in a larger the page refreshes, the numbers
font size than the associated text count up in an animation from a
so that they are noticed before starting number (usually 0) to a
the text and to increase the final number. An animation dura-
likelihood that website users will tion of about 2 seconds is recom-
memorise the numbers. mended.
200
TEMPLATES
200 34 6
7 347
TEMPLATES
CLIENTS CLIENTS
38 Index
182
Line spacing 17 Phonetic search function 131 T
Link title 121 Picture superiority effect 18 Tab 36
List 66 Pie chart 176 Table 162
Loading animation 23 Placeholder text 133 Testimonial 74
Local navigation 108 Popover 72 Tetradic color 13
Logo 29 Price table 166 Text link 120
Progress indicator 154 Thumbnail 86
M Pull quote 76 Thumbnail navigation 88
Main headline 54 Toggle switch 152
Main navigation 98 Q Tooltip 72
Map marker 158 Quilted image list 87 Top footer 46
Map switcher 158, 160 Transition 31
Map tip 159 R Triadic color 13
Marker cluster 161 Radio button 150
Masonry image list 87 Responsive navigation 22 U
Mega drop-down menu 106 Usability 18
Menu item 97, 98, 108 S
Miller's law 18 Search box 126 V
Modal window 40 Search result 129, 130 Validation 139
Monochromatic color 12 Section 30 Vertical bar chart 170
Segmented control 144 Video player 94
N Shadow 25 Viewport 28
Numbering 66 Skeleton 23 Visual hierarchy 7
Social media link 46
O Sort function 162, 164 W
Optical alignment 69 Spinner 23 Warm-cold contrast 9
Overlap 10 Split-complementary color 13 White space 11
Square color 13
P Standalone link 120 Z
Page navigation 110 Stemming 131 Zoom function 158
Page title 57 Sticky navigation 100, 109
Pagination 110, 132 Sub footer 44
Password field 140 Subheading 54, 59
Performance 23 Symmetrical balance 11
40
Web UI Design
in a Nutshell
The "Compact Guide to Web Design" with 192 pages
full of best practices and design examples is now
available as paperback and e-book:
41