Variable fonts: one file, endless styles
Variable fonts pack a whole type family into a single file, and they open up design possibilities static fonts never could.
Creative Pouch · · 1 min read

A traditional font family comes as many separate files: Regular, Bold, Light, Italic, Condensed and so on. A variable font puts them all into one file, with smooth control over everything in between.
How they work
A variable font has one or more axes. Common ones are:
- Weight (
wght), from thin to black; - Width (
wdth), from condensed to extended; - Slant (
slnt) or Italic (ital); - Optical size (
opsz), which adjusts letter shapes for small or large sizes.
Some fonts add custom axes for things like roundness, contrast or playful details.
Why designers love them
Precise hierarchy
Instead of jumping from 400 to 700, you can use 560 for a subhead that needs to be just a little stronger. Hierarchy becomes finer and more intentional.
Better performance
One variable file is often smaller than loading four or five static weights, so pages load faster.
Responsive type
Width and optical size can adapt to the screen. Slightly condensed headlines on phones fit more words per line without shrinking the text.
Animation
Because the axes are continuous, they can be animated. A headline that gently gains weight on hover, or a logo that “breathes”, is easy with CSS.
h1 {
font-variation-settings: 'wght' 650, 'wdth' 90;
transition: font-variation-settings 0.3s ease;
}
h1:hover { font-variation-settings: 'wght' 800, 'wdth' 100; }
Things to watch
- Not every app supports every axis. Test your design tools and target browsers.
- More options mean more ways to be inconsistent. Define the exact values your system uses.
- Check licences. Variable versions are sometimes licensed separately.
Where to start
Many excellent open-source typefaces now ship as variable fonts. Pick one, explore its axes in a type tester, and try replacing a few static weights on your next project.


