Good fonts for a product do three jobs: they’re easy to read at small sizes on cheap screens, they load quickly, and you’re allowed to use them. Personality comes fourth. The good news is that some of the best interface typefaces are free.

What makes a font readable on screen

  • A generous x-height. The height of the lowercase letters compared with the capitals. Taller lowercase reads better at small sizes.
  • Open shapes. Letters like a, e and c with wide openings stay clear when they’re small or blurry.
  • Letters you can’t confuse. Check capital I, lowercase l and the number 1 side by side, and 0 against O. In an interface (codes, prices, passwords) confusion matters.
  • Enough weights. At least regular and bold; ideally a medium and a semibold for buttons and labels.
  • Numbers that line up. Tabular figures, where every digit is the same width, keep prices and tables neat. Most good interface fonts include them.

How many fonts?

Usually two: one for headings and one for text, or a single family for both. A third, monospaced font is useful if you show code, data or reference numbers. This site uses Archivo for headings, IBM Plex Sans for text and IBM Plex Mono for labels and code; all three are free.

More fonts mean more to download and more chances for the design to look inconsistent.

Free fonts worth knowing

All of these are open-source (under the SIL Open Font License), free for commercial use, including in apps:

Use Good choices
Interface and body text Inter, IBM Plex Sans, Source Sans 3, DM Sans, Manrope
Headings with character Archivo, Space Grotesk, Fraunces (serif), Barlow Condensed
Long reading Source Serif 4, Literata, IBM Plex Serif
Code and data IBM Plex Mono, JetBrains Mono

You can try several of them on real components in our theme builder: pick a heading and body font and every component in Somnia DS updates.

Paid fonts can be wonderful, but read the licence: many charge separately for websites (by page views) and apps (by number of installs), and some don’t allow app use at all.

Make them fast

  • Host the files yourself. Serve the font files from your own site rather than a third party. It’s faster, it works if the other service is down, and it avoids sending your visitors’ IP addresses elsewhere. In 2022 a Munich court ordered a website owner to pay damages for loading Google Fonts from Google’s servers without the visitor’s consent, which made many European sites switch to self-hosting.
  • Use WOFF2. It’s the smallest web font format and every current browser supports it.
  • Load only what you use. Every weight and style is a separate file. If you never use light italic, don’t load it. Subsetting (only including the characters you need, such as Latin) shrinks files further.
  • Show text straight away. font-display: swap shows text in a fallback font while the real one loads, instead of blank space.
  • Consider variable fonts. One file that contains every weight. Worth it if you use three or more weights.

Fonts are usually the heaviest thing on a lean page. On this site they’re most of the page weight, which is why we’re strict about which weights load. We go into detail in how we built this site.

Check before you commit

  • Set a real screen in it rather than “The quick brown fox”: a form, a price table, an error message.
  • Look at it at 14px on a phone, and at 200% zoom.
  • Check every language you’ll support has the characters it needs.
  • Check the licence covers web and app use.

Choosing type for a new brand or product? Get in touch. It’s one of the decisions most worth getting right early.

← Back to all insights