Font
The Font control allows you select a fontFamily, fontStyle, and fontWeight.

Params
label
Text for the panel label in the Makeswift Visual Builder.
description
The description shown in the Panel of the Makeswift builder. This can be written in Markdown format.
Added in v0.24.8.
variant
A boolean to determine whether fontStyle and fontWeight are included in
the final value. This value changes what panel inputs are shown in the
Makeswift builder, and changes the type of defaultValue.
defaultValue
The default value passed to your component when no value is available. This object includes three properties:
fontFamily-stringfontStyle-"normal" | "italic"fontWeight-number
Without defaultValue the data passed to your component is optional.
Example
Prop type
The Font control passes an object with the following properties: