Headings are used for rendering headlines.
Box so you can use all the style props and add responsive
styles as well. It renders an
<h2> tag by default.
To increase the size of the heading, you can use the
If you use the
size prop, the font size of the heading will automatically
decrease in size for smaller screens.
isTruncated prop to render an ellipsis when the heading exceeds the
width of the viewport or
You can override the size of the Heading component by passing the
prop. No need to write
Paystack helps businesses in Africa get paid by anyone, anywhere in the world
The Heading composes the Box component, so you can pass all
|The size of the heading.|