Skip to content

The font object

These attributes define the properties of a font object.
The font object represents both Google Fonts and user-uploaded custom fonts.

Attributes

name string
The name of the font.

isGoogleFont boolean
Indicates if the font is from Google Fonts.

isUploadedFont boolean
Indicates if the font is a user-uploaded custom font.

Sample Objects

Here’s a sample object of a Google Font:

{
"name": "Roboto",
"isGoogleFont": true,
"isUploadedFont": false,
}