Variable fonts with custom and experimental axes
Expressive variable fonts that go past weight and width, with custom axes for softness, bounce, informality, morphing, rotation, grade and other effects.
Push the slider
Nothing in the variable font format limits axes to weight and width. Five are officially registered and widely supported: weight, width, slant, italic and optical size. Past those, a type designer may define an axis for anything the letters can sensibly change, naming it with a capitalized four-letter tag. Recent years have brought a lot of playful work out of that rule.
It helps to sort custom axes by purpose. Parametric ones adjust a single measurable detail, like how thick the thin strokes are or how tall the lowercase stands, and they serve careful typographic tuning. Grade alters the apparent darkness of text while every letter keeps its width, so nothing reflows, a handy property for dark interfaces. Expressive axes alter the mood: rounder corners, a relaxed handwritten wobble, letters hopping off the baseline, flares that hint at serifs. A few axes are conceptual, linking letter shapes to a dataset or turning them in three dimensions.
CSS reaches all of them through font-variation-settings, with the tag followed by a value. Since the values are continuous, you can animate an axis or tie it to scroll position and user input. Each note below lists the axes that font actually has, as recorded.
-
Fraunces
Next to weight and optical size it adds two of its own, Softness and Wonky.
-
Google Sans Flex
Six axes in all: roundness, grade and slant join weight, width and optical size.
-
Commissioner
On this humanist sans, the Flare and Volume axes sprout endings that resemble serifs.
-
Geologica
Weight and slant are joined by two custom axes, Cursive and Sharpness.
-
Akshar
A condensed sans covering Latin and Devanagari, with axes for weight and for contrast.
-
AR One Sans
Made for augmented reality screens, its resolution axis keeps widths constant so lines never reflow; weight is the other axis.
-
Honk
No weight axis at all; instead Morph changes the blocky letterforms and Shadow Length stretches a shadow out behind them.
-
Kablammo
Capitals covered in doodles that wobble and shift as you move the Morph axis.
-
Climate Crisis
One axis, Year, from 1979 to 2050, links how heavy the letters are to measurements of Arctic sea ice.
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 custom and experimental axes
What is the CSS syntax for a custom variable font axis?
Use font-variation-settings, putting the axis tag in quotes and following it with a number, such as "SOFT" 100. Custom tags are written in capital letters, and their case matters.
Is it possible to animate a variable font axis?
Yes. The values are continuous numbers, so CSS transitions and animations can move them, and JavaScript can drive them as well.
What does the grade axis do?
Grade makes text appear lighter or darker while letter widths stay fixed, so the layout does not move. It is used to balance text on dark backgrounds or across screens that render differently.