Skip to main content

Body


Example

Props

NameTypeDefault ValueRequiredDescription
size"small" | "large" | "medium"Yes
color"default" | "inherit" | "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