Skip to main content
Version: latest

StyledText

Interface

Text with styles

Properties

color

Optional

Color

Type

string


font

Optional

Font

Type

string


fontFamily

Optional

Font family

Type

string


fontFeatureSettings

Optional

Font feature settings

Type

string


fontKerning

Optional

Font kerning

Type

string


fontOpticalSizing

Optional

Font optical sizing

Type

string


fontPalette

Optional

Font palette

Type

string


fontSize

Optional

Font size

Type

string


fontSizeAdjust

Optional

Font size adjust

Type

string


fontStretch

Optional

Font stretch

Type

string


fontStyle

Optional

Font style

Type

string


fontSynthesis

Optional

Font synthesis

Type

string


fontVariant

Optional

Font variant

Type

string


fontVariantAlternates

Optional

Font variant alternates

Type

string


fontVariantCaps

Optional

Font variant caps

Type

string


fontVariantEastAsian

Optional

Font variant east asian

Type

string


fontVariantLigatures

Optional

Font variant ligatures

Type

string


fontVariantNumeric

Optional

Font variant numerics

Type

string


fontVariantPosition

Optional

Font variant position

Type

string


fontVariationSettings

Optional

Font variation settings

Type

string


fontWeight

Optional

Font weight

Type

string


letterSpacing

Optional

Letter spacing

Type

string


lineHeight

Optional

Line height

Type

string


text

Text

Type

string