Text

Text description.


Props

Text properties

PropertyDescriptionTypeDefaultVersion
alignSet text alignmentleft right center justifyleft
colorText colorstring-
inlineShould text be inline?booleanfalse
italicShould text be in italics?booleanfalse
sizeSet size of textsmall medium largelarge
strikeShould text be strike-through?booleanfalse
styleSet style of textCSSProperties-
underlineShould text be underlined?booleanfalse
variantWhat type of text is it?body caption sub-heading overline strongbody
weightSet font-weight of textbold normalnormal

Usage

Basic Text

Variant

Weight

Italic

Inline

Align

Underline

Size

Strike