Custom fonts
If your brand uses a typeface that is not in the built-in list, upload the font file and MyAppBuilder will load it in the editor preview and in your published app. Uploaded fonts appear in the Body font and Heading font lists like any other font.
If your brand uses a typeface that is not in the built-in list, upload the font file and MyAppBuilder will load it in the editor preview and in your published app. Uploaded fonts appear in the Body font and Heading font lists like any other font.
When to use
- Your brand guidelines specify a licensed or custom typeface.
- You need a font that is not among the hosted options (Inter, Segoe UI, Arial, Georgia, Playfair Display, Roboto, DM Sans, Source Serif, Monospace).
Supported files
WOFF2 (recommended, smallest), WOFF, TTF and OTF. One file per family entry: upload the regular weight; if you need a separate bold or italic file, add it as another family (for example "Brand Sans Bold") and use it in the Style tab where needed.
How to add a custom font
- Open Assets and upload the font file (drag and drop or Upload). Fonts are detected automatically and shown with a font icon.
- Open Theme › Custom fonts.
- Under Add a font, type the Family name you want to use (for example
Brand Sans; quotes and semicolons are removed automatically, 80 characters maximum) and pick the uploaded file with the asset picker. If the picked file is not a font the view warns: "That file doesn't look like a font". - Click Add font. The font appears in the list with two buttons: Use for body and Use for headings. Click one or both.
- Check the live preview; the font is also used in the published app.
To rename a family, edit its name in the list (the change is applied when you leave the field). To swap the file, use the asset picker on that entry. The trash icon removes the font from the theme; the file stays in Assets.
Example
A bakery uploads recoleta.woff2, names it "Recoleta" and uses it for headings only, keeping Inter for body text so that tables and forms stay crisp.
Heading font: 'Recoleta', Inter, 'Segoe UI', Arial, sans-serif Body font: Inter, 'Segoe UI', Arial, sans-serif
What the visitor sees
The published app declares the font with font-display: swap, so text appears immediately in a fallback font and switches to your font once the file has loaded. Fonts are served from your app's own file storage, not from a third-party service.
Common mistakes
- Uploading a desktop installer or a ZIP. Only the font file itself works (
.woff2,.woff,.ttf,.otf). - A family name with a typo. The name in the theme must match what you select; renaming the family keeps the link because the theme references the file by its asset id.
- Deleting the asset. The publish checklist does not fail for a missing font file, but the font silently falls back to Inter. Keep the file in Assets as long as the theme uses it.
- Licensing. Make sure your font license allows web use.
Advanced
Custom fonts are stored in the theme as customFonts: [{ family, assetId }]. The runtime generates one @font-face rule per entry, inferring the format from the asset's MIME type (woff2, woff, opentype, truetype); family names are restricted to letters, digits, spaces, underscores and hyphens. Selecting "Use for body" sets typography.fontFamily to '<family>', <default stack>. Reset to default keeps customFonts, the logo and the favicon.