Heading
Heading creates a title or subject of an article or another piece of written work.
install | yarn add @clayui/core |
---|---|
version | 3.123.0 |
Heading
Property | Description |
---|---|
children React.ReactNode | Heading content. |
fontSize 1 | 2 | 3 | 4 | 5 | 6 | Determines the font size of the heading regardless of the tag. |
level 1 | 2 | 3 | 4 | 5 | 6 | Number to set the heading level. The default value is 1 |
weight | 'lighter'
| 'light'
| 'normal'
| 'semi-bold'
| 'bold'
| 'bolder' | Determines the weight of the font. The default value is 'bold' |