All videosLayout & design
Intro to Variables

Intro to Variables

Variables allow you to create a consistent design system for your site. You can create variables for size, color, and font styles and reuse them for a consistent and faster design experience. When you update a variable value, that change will update everywhere it’s used on the site, even on elements in different classes.

Video transcript

Intro to Variables in Webflow covers how to use variables to create and manage design tokens that can be applied consistently across your site. Variables in Webflow map to CSS custom properties and let you define values — colors, font sizes, spacing, and more — that you reference instead of hard-coding.

The main benefit of variables is maintainability. If your brand color is defined as a variable, you change it once and it updates everywhere it's used. If your base font size is a variable, adjusting it in one place affects all elements that reference it.

To create a variable in Webflow, go to the Variables panel in the Designer. You can create collections of variables — like a "Colors" collection or a "Spacing" collection — and add individual variables within each. Once created, you can apply a variable to any styleable property in the Style panel by selecting the variable from the dropdown rather than entering a static value.

Variables are especially powerful in design systems and team workflows, where multiple designers need to apply styles consistently and where rebrand updates need to propagate across many pages and elements.