Skip to main content

Body


Example

Props

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

Also known as

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

Related components