Table of Contents#
Typography Props#
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | h1 h2 h3 h4 h5 h6 display-1 display-2 body-1 body-2 caption | '' | Determines the typography style variant, such as heading, display, body text, or caption. |
| tagName | h1 h2 h3 h4 h5 h6 p caption span | 'p' | Specifies the HTML tag to render for the text. |
| children | React.ReactNode | - | Content to be displayed within the typography element. |
| className | string | '' | Additional CSS class for the typography element. |