Skip to main content

Variable Fonts

UI Design

What are Variable Fonts

Variable fonts are fonts that store many styles in a single file. Instead of separate files for Regular, Medium and Bold, one variable font lets designers pick any value along a range, such as a weight between 100 and 900.

How Variable Fonts work

Each changeable property is an axis. The five registered axes are:

  • Weight: From thin to black
  • Width: From condensed to wide
  • Slant and italic: The angle and italic forms
  • Optical size: Shapes tuned for small or large text

Type designers can also add custom axes.

Benefits of Variable Fonts

One file can replace several static files, which often means less data to load. Designers get fine control, such as a slightly heavier weight for small headings or a narrower width for dense tables.

When to use Variable Fonts

Use them when a product needs several weights or widths of one typeface, or responsive typography that adapts to screen size. Check browser and OS support, and confirm the license covers web use.

Frequently asked questions

What are the benefits of variable fonts?

One file holds many weights, widths or styles, so designers can use any value in a range, such as weight 450, and sites often load less data than with several static font files.

What are variable font axes?

An axis is a property that can vary. The five registered axes are weight, width, slant, italic and optical size. Type designers can also add custom axes.

Are variable fonts the same as a font family?

Not quite. A traditional family ships a separate file for each style, such as Regular and Bold. A variable font stores the whole range in one file, often with a second file for italics.