Skip to main content

Body


Example

Props

NameTypeDefault ValueRequiredDescription
size"small" | "large" | "medium"Yes
color"inherit" | "default" | "disabled" | "primary" | "secondary" | "primaryInverse" | "secondaryInverse" | "interactive" | "informative" | "positive" | "warning" | "negative"primaryNo
align"left" | "right" | "center" | "justify"No
ellipsisbooleanNo
idstringNo
weight"default" | "strong"defaultNo
asElementType<any>spanNo

Also known as

This component may also be known in other UI libraries as Text

Related components