Skip to content

ElementsOptions

Options applied to every element in a group.

export interface ElementsOptions
NameTypeDescription
fonts?FontSource[]Web fonts loaded inside the card fields, at most 8. Name the family in theme.fonts.family. The mobile and scan elements render in your page and use the fonts it already loads.
locale?stringBCP 47 tag, or “auto” to follow the browser. Reserved: en is the only catalogue that exists today.
theme?PesepayThemeTheme for every element in the group, over the config’s.