How do I use a variable font in Webflow?
Choose an uploaded variable font, set a variation such as weight or width, and know when that axis overrides the old weight.
Upload the variable font under Site settings, Fonts, then select the text and choose that font under Style panel, Typography, Custom fonts. Open Variations and set the axis you need, such as weight or width. A variation on the weight axis overrides a font weight set earlier. Google Fonts and Adobe Fonts integrations do not expose these variations. Changing to another font resets the variations you set.
Start from one uploaded variable font
A variable font keeps a family's range in one file. Weight, width, and other axes live in that file, so you do not upload a separate file for every weight the way a traditional family often requires.
Webflow supports variable fonts in TTF, OTF, WOFF, and WOFF2. EOT and SVG are not supported. Each custom font file can be up to 4 MB.
The file has to be on the site before the Designer can offer variations. Upload it under Site settings, Fonts. The custom font guide is that upload, including the WOFF2 path for ordinary font files. This page starts after the variable font is in that list.
A font you only added through the Google Fonts or Adobe Fonts integration will not show font variations. Webflow says those integrations do not offer them. Download the variable font file and upload it as a custom font, then come back to the canvas.
You can spot a variable font in the font picker by the dot beside its name. Hover that dot to see how many variations the file supports.
Open Variations and set the axis
Select the heading, paragraph, or link on the canvas. Open Style panel, Typography. In the font dropdown, choose the variable font under Custom fonts.
Click the text box next to Variations. Set the axis you need by dragging the slider or by typing a value. Common axes are weight, width, optical size, slant, and italics. A file can also include custom axes, such as a softness or an ascender height the type designer defined. The names you see come from the font file. If the file has no friendly name for an axis, Webflow shows the axis tag instead.
Example: a hero heading should be heavier than the body, without a second font file. Select the heading, choose the uploaded variable font, open Variations, and set weight. Leave the paragraph on a lighter weight in its own class so the heading change does not restyle the body.
Variations are inherited, like font family and font size. A value on a parent passes to the text inside it until a more specific class sets its own variation. You can also set a different variation on a smaller breakpoint when the phone heading should be lighter than the desktop heading.
To remove one axis, open the variation menu, hover that row, and click the trash icon.
Let the weight axis override the old weight
Typography still has a font weight control. If you set that weight and then add a variation on the weight axis, the variation wins. Webflow says the variation overrides the previously set font weight.
If the heading looks like the wrong weight, open Variations before you keep clicking the weight menu. The number in the variation is the one on the published page.
You can also stack more than one row on the same axis. Webflow says that is allowed, and the row furthest down wins. Their example is a list that includes Weight 146 and, lower in the list, Weight 1000. The weight that applies is 1000. If a heading looks heavier than the row you think you set, look for a second row below it.
Italic and slant are different axes. Slant controls the file's slant parameter. Italics are a separate structure, not the same control with another name. Set the axis the file actually provides. Setting slant does not automatically turn on the italic axis.
If you change the element to a different font, the variations you set on the original font reset. Choose the variable font again and set the axes again after a font swap.
Change the variation on a state
You can set a variation on a state such as hover, pressed, or focused, then ease between the default state and that state.
The element needs a class or an HTML tag before the States menu is available. Select it, open the Selector, and name a class if it does not have one. Open States and choose the state. Select the variable font if it is not already the font on that state. Open Variations and set the axis.
Then choose the None state. Open Style panel, Effects, and click the plus next to Transitions. Add the effect, including font variations if the axis should animate, and set the duration.
Example: a button label uses the variable font at a medium weight, and the hover state uses a heavier weight on the same axis. Avoid rapid, unexpected, or excessive movement.
The hover guide is the States menu for ordinary color and size changes. This page is the variation you set inside that state.
Reupload when the axes do not appear
If you uploaded the variable font before variations were available, or before the font file gained new axes, the Designer can show the family and still hide the controls. Webflow's fix is to delete the font under Site settings, Fonts, and upload the same file again. Then open the site and set the variations.
Do this when the dot is missing, when Variations will not open, or when a new axis you know is in the file never appears. After the new upload, open the heading and set the variation again.
Publish the site after the variation is set. The canvas can show the new weight before the live domain does. On the published page, compare the heading with the paragraph. They should differ only where you set different axes or different classes. The hero can use a heavier weight, the paragraph a lighter value on its own class, and a button hover can move only that label.
Setting a variable font on a page you already have is ordinary type work. The membership is one plan for every existing Webflow site: $999 per month, including 10 hours of Webflow work. Additional work is $75 per hour and starts only after you approve a written estimate.
Questions & answers
I picked the font from Google Fonts and Variations is missing. Where is it?
Font variations are not available through the Google Fonts or Adobe Fonts integrations. Download the variable font and upload it under Site settings, Fonts, then choose that uploaded font.
I set font weight to 700 and the text still looks light. What won?
A variation on the weight axis overrides the font weight in Typography. Open Variations and read the weight value. If two weight rows exist, the one furthest down is the one that applies.
The file was already on the site before variations worked. What should I do?
Delete the variable font under Site settings, Fonts, and upload the file again. Webflow's variable fonts article says that reupload is what makes the axes available.
Will EOT or SVG work for this?
No. Webflow supports variable fonts in TTF, OTF, WOFF, and WOFF2. EOT and SVG are not supported. Each custom font file can be up to 4 MB.
Sources & further reading
Need a hand with your Webflow site?
View membership
View membership