Skip to content

[Back to Parameters]

Font

A widget that allows the user to select a font and additional properties.

Key Type Required Default Description UPM/TD
includeSize bool ❌ false If true, allow the user to pick a font size. ❌
includeStyle bool ❌ false If true, allow the user to specify style options such as bold or italic. ❌
includeEffects bool ❌ false If true, allow user to select effects such as strikeout or underline. ❌
supportedFonts arr(str) ❌ [] A list of fonts to support in the font picker.
If empty, all available fonts will be included.
✔1

Example

{
  "name": "somefont",
  "type": "font",
  "prompt": "Title Font",
  "includeSize": true,
  "includeStyle": true,
  "includeEffects": false,
  "supportedFonts": [
    "Arial",
    "Times New Roman"
  ]
}

  1. Available in Transformer Designer only.