Typography

Typography used for Payment Element text.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Custom
Link copied to clipboard
class Font

Functions

Link copied to clipboard

Custom font configuration for specific text styles Note: When set, these fonts override the default font calculations for their respective text styles

Link copied to clipboard

The font used in text. This should be a resource ID value.

Link copied to clipboard

The scale factor for all fonts in Payment Element, the default value is 1.0. When this value increases fonts will increase in size and decrease when this value is lowered.