A styled, semantic heading element. The Heading component builds on top of Text and supports all Text props.
The component can be imported via:
The component accepts a level prop, from 1 to 6, which will have the component render
the matching heading tag (h1 to h6):
PlumaHeading extends TextThe text color. (See text color tokens)
The font family. (See font family tokens)
The font style. (See MDN font-style)
Default:2
The level of the heading (which maps to h1-h6 tags)
The text size. (See font size tokens)
A predefined typography style. (See text tokens)