Skip to content

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

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.

Here’s a sample object of a Google Font:

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