# Working with Custom Fonts

Airkit comes with fonts out of the box, [Google Fonts](https://fonts.google.com/), as well as the ability to upload custom fonts. Custom fonts are great for matching fonts in an application to exactly match a style or brand.&#x20;

Airkit will accept the following font types:&#x20;

* .otf
* .ttf
* .woff
* .woff2

### Adding a Custom Font

To add a custom font, go to [Media Library](../../building-apps/assets/working-with-files-and-media) in the Builder Bar and click on the **Upload** button. Upload the font to be used in the application.&#x20;

![mceclip0.png](https://1191388742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhOn9CLWoV9VfJeM5EDAa%2Fuploads%2Fgit-blob-554c14b3234414f5404d9a8d282f1782d591c9ed%2Fworking-with-custom-fonts-v1715-0.png?alt=media)

The Font will be added as an asset to the Media Library and can now be used as a Font style.

![](https://1191388742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhOn9CLWoV9VfJeM5EDAa%2Fuploads%2Fgit-blob-8129f145d414c597138532f3bf2e687f1aa39527%2Fworking-with-custom-fonts-v1715-1.png?alt=media)

### Changing the Primary Font Across an Application

Fonts can be easily changed across an application by changing the primary font at the Theme level. To change the primary font, go to Theme Builder and select '**Theme**' in the tree. &#x20;

![](https://1191388742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhOn9CLWoV9VfJeM5EDAa%2Fuploads%2Fgit-blob-eebf53e9f1984a27137eb1b75a0a8d349be596bd%2Fworking-with-custom-fonts-v1715-2.png?alt=media)

Then go to the Inspector and expand the Fonts accordion. To change the primary font, click on the font name next to brandPrimaryFont and select the **Custom Font** tab. Select the font to be used, and click on **Save**. Any Google Font can also be used here as well.&#x20;

![](https://1191388742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhOn9CLWoV9VfJeM5EDAa%2Fuploads%2Fgit-blob-01fb9b612c234f682459bf3c96d9a661ad020cf9%2Fworking-with-custom-fonts-v1715-3?alt=media).gif)

Now all labels or text that is using the brandPrimaryFont variable will use the new custom font that was selected.

Additionally, to add a secondary font variable that can be used across the application, click on the '**+**' icon next to Fonts and add another variable name with an associated font. This is useful if the application required a completely different font for certain areas or flows of the application.&#x20;

![](https://1191388742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhOn9CLWoV9VfJeM5EDAa%2Fuploads%2Fgit-blob-748f1e2b4378fb5814f00e00779642ca06dfe99f%2Fworking-with-custom-fonts-v1715-4.png?alt=media)

### Further Reading

Custom fonts are just one of the many styling tools to help build out applications to match a specific brand or look and feel. To dive deeper into topics related to styling see:

* [Working with Themes & Control Variants](https://docs.airkit.ai/?q=working-with-themes-and-control-variants)
* [Common Style Properties of Web Controls](../../web-controls/web-controls-overview/common-style-properties-of-web-controls)
