Fundamentals · Lesson 2/10
Typography
Choosing and setting type for interfaces, from font families and properties to building a type scale.
Typography in UX/UI design is the selection and arrangement of typefaces, sizes, spacing and other typographic elements in websites, apps and other digital products. It is crucial for a clear, compelling interface because it affects readability, hierarchy and the whole experience. Most interfaces are, above all, text.
Key considerations
Legibility and readability
Type must be easy to read at every size. Choose a font that suits the content, and make sure there is enough contrast with the background.
Accessibility
Type must be accessible to everyone, including people with visual impairments. Consider font size, color contrast and alternative text for images.
Visual hierarchy
Type creates a clear hierarchy, emphasizing important information with size, weight and color, so users can scan quickly.
Consistency
Using type consistently creates visual coherence and makes navigation easier. Every heading of the same level should look the same.
Responsiveness
Type must adapt to different screen sizes and devices and remain readable everywhere.
Branding
Type must match the brand and its personality. That doesn't mean using the logo's font in the product, but a font that fits the brand's style.
Font families
There are thousands of fonts, and they all fall into one of these families:





Serif
Small strokes at the ends of each letter. Associated with traditional or formal designs, and common in books and newspapers.
Sans serif
No strokes at the ends, so they look cleaner and more modern. The standard for digital products.
Display
Decorative, with unusual shapes. For headlines, logos and large text that needs impact.
Handwriting
Imitate a pen or pencil on paper, imperfections included. For casual or personal designs.
Monospace
Every character has the same width. Common for code, and useful to align numbers.
Script
Imitate cursive handwriting or calligraphy. For invitations and elegant designs.
Symbol
Display symbols or icons, like arrows, emojis or currency signs, consistently.







Type properties
Good typography is invisible. People don't notice it; they simply read more, understand faster and trust the product a little more.
Weight
The thickness of the strokes: thin, light, regular, medium, bold and black, each usually with an italic version. Weight affects readability and impact. Bold emphasizes headings and keywords; light suits less important text. Combining weights creates hierarchy.
Size
The height of the characters, measured in points or pixels.
Style
The slant of the text: italic or oblique.
Color
Text color, taken from your palette, with enough contrast.
Letter spacing
The horizontal space between letters. Large uppercase text often needs a bit more; large headings often need a bit less.
Line spacing
The vertical space between lines, also called line height. Body text usually reads best at about 1.4 to 1.6 times the font size.
Paragraph spacing
The vertical space between paragraphs. It improves readability and helps organize content.
Alignment
Horizontal (left, center, right) and vertical, inside the line height or text box. Left alignment is best for long text.
Decoration
Underline, strikethrough or highlight. Reserve underlines for links.
Container size
A text box can grow with its text, or have a fixed size so the text adapts to it.
Case
UPPERCASE, lowercase, Title Case or SMALL CAPS. Use uppercase sparingly; it's harder to read in long text.
Effects
Shadows and other effects. Rarely needed, but useful in specific cases like text over images.















Type scale
A type scale establishes a consistent hierarchy and structure for type across contexts and platforms. It usually includes headings (H1 to H6), body text and smaller sizes, each with a role in the hierarchy.
H1 is usually the main title of a page, H2 a subheading, and so on. This naming matters for developers and SEO, but as designers, each team can name its styles however works best.


Choosing your font
Not every font is suitable for interfaces, so choose carefully.
How many fonts
I recommend only one font per project. You can add a second one for hero sections or special titles, and even a third, like a handwritten font, for special notes or banners. Those extra fonts should only appear in a few places. This is a recommendation to avoid overcomplicating a project. If you have a good reason to use more, rules are made to be broken.



Weights
Choose a font with at least 3 to 5 weights. The most common are light, regular and bold, but it's good to have thin and black too. Otherwise you won't be able to create enough variation for hierarchy.


Family
For digital products, sans serif is the way to go. You might choose another family when the product is more artistic than business-oriented.


Where to get fonts
There are many sites to download and buy fonts, but if you want to play safe and get a free font that works perfectly, go to Google Fonts or Fontshare. Nobody will think less of your project for using a free font, and you avoid any risk with licenses and costs.
To install a font on Mac, double-click the file (.ttf or .otf) and click Install Font. On Windows, right-click the file and choose Install.

Create your styles
After many projects, I found that a scale of 8 font sizes works best. Some projects need more or fewer, but eight is my standard.
I start from the body text size: 16px for mobile and 18px for desktop. Then I multiply by 1.25 to get each larger size. To make it easier, I use Typescale. Then I add all the styles to the design system, as you saw in the Design System lesson.


Resources
- Google Fonts
- Fontshare
- Dafont
- Fontpair, for font pairing ideas
- Typescale
Quiz
Check what you learned
Exercise
Set up your typography
Choose a font and build a complete type system.
0/5 steps done