
Compatibility
| Plugin type | Availablity | Additional notes |
|---|---|---|
| Content blocks | ||
| Media source |
Properties
fontFamily - the type of the componentA unique internal-only identifier that is posted to an app’s plugin server to share values inputted by the creator
Creator-facing identifier that is shown in the plugin environment
Default font value that is pre-selected when the component first loads. Object with
fontFamily (string) and fontWeight (number or string) properties.Determines whether the creator must select a font before proceeding
Brief creator-facing explanation that clarifies the component’s purpose and usage.
Allows for the field to be shown conditionally. dependent on other fields. See dependencies page for more details.
Best practices
Automatic styling
When using thefont picker for content blocks, alongside the settings object, Kit also shares data on the styles used within the email template - allowing your plugin to assume the styling of the email automatically, to make it feel as native as possible.
Details on the style data available can be found below:
Supported HTML elements
Supported HTML elements
- p
- h1
- h2
- h3
- h4
- h5
- h6
- ol
- ul
- blockquote
- a
Shared styles
Shared styles
Example request
Example request