Variable fonts with adjustable width (wdth axis)
Variable font families whose letters can be made narrower or wider as well as lighter or bolder, covering anything from a slight squeeze for fitting copy up to a span reaching from condensed to extended.
Narrow to wide
Instead of shipping a handful of fixed styles, a variable font holds a continuous design space. Weight is the axis nearly every variable family includes. Fewer offer width, tagged wdth, which compresses or stretches letters without changing their height or personality. The numbers are percentages of the regular width: 75 gives a condensed setting, 100 the normal one, 125 an extended one.
For page layout, width is frequently the more useful axis. You can fit a heading precisely to its column, tighten a menu label on a phone and loosen it on a desktop, or switch a data table to a narrower setting only when space runs short. CSS handles this through font-stretch, or font-variation-settings when you want direct control, and the value can change at breakpoints or be animated.
Ranges differ a lot, so compare them before you commit. Some families here only get narrower, from 100 to roughly 75, which covers copy-fitting. Two only get wider. Others stretch from half the regular width to twice it, which makes one file behave like a set of separate typefaces. Each note gives the range as recorded. A properly built width axis redraws the letterforms, which is very different from distorting text with a horizontal scale.
-
Roboto
Weight goes from 100 to 900 with italics, and the width axis, from 75 to 100, pulls the letters toward a condensed version.
-
Open Sans
A humanist sans in six weights with italics; its width can shrink from 100 to 75 when copy needs fitting.
-
Archivo
From Thin to Black in weight, with italics, and from 62 to 125 in width, extra condensed through expanded.
-
IBM Plex Sans
Seven weights with italics; the width axis can compress the letters down to 75.
-
Inconsolata
Monospaced, with width from 50 to 200, so from half to double the normal size, and weight from 200 to 900.
-
Noto Serif
A serif for running text, nine weights with italics, whose width can narrow from 100 to 62.5.
-
Merriweather
Weight and optical size axes sit beside a small width range, 87 to 112, in this serif for text.
-
Asap
Its width runs from 75 to 125 and its weight from 100 to 900; italics are included.
-
Georama
Nine weights with italics, and a width range from 62.5 to 150 that moves from condensed to expanded.
-
Advent Pro
Here width can only grow, from 100 up to 200, alongside a weight axis from 100 to 900.
-
Anek Latin
Eight upright weights, Thin through ExtraBold, and a width range of 75 to 125.
Samples load a basic Latin subset of each family. Every family here carries an open license; its page states the terms and offers the original files.
Questions about variable fonts with adjustable width (wdth axis)
Which CSS property controls the width of a variable font?
Use font-stretch with a percentage, such as font-stretch: 85%, or write font-variation-settings: "wdth" 85. Keep the number inside the font’s supported range, because anything beyond it is clamped to the closest limit.
Does a width axis just stretch the text sideways?
No. Stretching text by scaling warps curves and makes strokes uneven. A width axis switches to letter shapes drawn for that width, so horizontal and vertical strokes keep their balance.
Will variable fonts display correctly in every browser and program?
Modern browsers and the main design tools handle them. Older programs may only show the default instance, so where that is a risk, keep static font files as a backup.
May I use these variable fonts in commercial projects?
Yes. Ubuntu Sans comes under the Ubuntu Font License, which allows commercial use, and every other family is under the SIL Open Font License, which allows commercial use, embedding and self-hosting. Every font page names its license.