Text in the library's type scale, rendered as any element.
null| – |
Whether to keep the text on one line and cut it off with an ellipsis. |
variant | "body"|"error"|"info"|"success"|"warning"|"secondary"|"heading1"|"heading2"|"heading3"|"heading4"|"mono"|"mono-secondary" | body | The visual style of the component. |
weight | "bold"|"medium"|"normal"|"semibold" | – | The font weight. When unset, the variant's own weight applies. |