βΆοΈHow to use custom fonts
Add custom fonts to your Webstudio site.
Last updated
Was this helpful?
Add custom fonts to your Webstudio site.
Webstudio lets you use custom fonts without relying on third-party services like Google Fonts. You can either choose from built-in font stacks or upload your own font files.
Yes β you can upload your own fonts directly inside the Webstudio interface, no external hosting required.
Select any text element on your canvas.
In the Typography section of the Style Panel, click the cloud upload icon next to the font family dropdown.
The Fonts menu will open. From here you can:
Choose from Modern Font Stacks
Pick a system font
Click Upload to add your own font files (e.g. .woff, .woff2, .ttf)
Webstudio includes built-in support for Modern Font Stacks, which are fast, system-based font combinations designed to look good across platforms. Theyβre a great alternative to web-hosted fonts and help improve page load speed and privacy.
When you add custom fonts to your website, visitors must download those font files. Each font variation (bold, italic, bold 900, etc.) is a separate file that adds to load time. This can cause:
Slower page loads
Flash of Unstyled Text (FOUT)
Flash of Invisible Text (FOIT)
Modern Font Stacks solve this by using fonts that are pre-installed on different operating systems. The browser automatically selects a font that's already on the user's device.
Zero millisecond load time β fonts are already on the device
No flashes β instant rendering
Better performance scores β no external font requests
Privacy β no third-party font services tracking users
Each font stack contains fonts for:
macOS/iOS (San Francisco, New York, etc.)
Windows (Segoe UI, Cambria, etc.)
Linux (various system fonts)
Android (Roboto, etc.)
The browser reads the list and uses the first font it finds installed. Webstudio automatically outputs all the font variations for cross-platform compatibility.
π Learn more in the Webstudio December Update.
When uploading custom fonts, these formats are supported:
.woff2 (recommended - best compression)
.woff
.ttf
.otf
Use WOFF2 format when possible for smallest file size
Limit font variations β only upload weights you actually use
Upload upright and italic files together when a family provides separate files. Webstudio reads each file's style metadata so the browser can select the correct face.
Consider variable fonts β one file can contain multiple weights and may also contain italic or slant variations

Design tokens β Create reusable styles including typography tokens
Project settings β Configure project-wide settings and custom code
Variables β Use variables for dynamic styling
Last updated
Was this helpful?
Was this helpful?
