Example
Props
| Name | Type | Default Value | Required | Description |
|---|
size | "small" | "large" | "medium" | | Yes | |
color | "default" | "inherit" | "disabled" | "primary" | "secondary" | "primaryInverse" | "secondaryInverse" | "interactive" | "informative" | "positive" | "warning" | "negative" | primary | No | |
align | "left" | "right" | "center" | "justify" | | No | |
ellipsis | boolean | | No | |
id | string | | No | |
weight | "default" | "strong" | default | No | |
as | ElementType<any, keyof IntrinsicElements> | span | No | |
Also known as
This component may also be known in other UI libraries as
Text
Related components