New to Kendo UI for Angular? Start a free 30-day trial

TypographyDirective

Represents the Kendo UI Typography directive for Angular. Used to represent element types in a uniform way by relying on the predefined Kendo theme classes.

<div kendoTypography variant="k-h1"></div>

Selector

[kendoTypography]

Export Name

Accessible in templates as #kendoTypographyInstance="kendoTypography"

Inputs

fontSize

TypographyFontSize

Sets the element font-size style.

fontWeight

TypographyFontWeight

Sets the element font-weight style.

margin

TypographyMargin

Applies the margin sizes to the element.

textAlign

TypographyTextAlign

Sets the element text-align style.

textTransform

TypographyTextTransform

Sets the element text-transform style.

themeColor

TypographyThemeColor

Applies the theme color to the element.

variant

TypographyVariant

Specifies the element variant class that will be applied.