heading
Foundational heading primitive.
Import
Import just the breadcrumbs styles.
@import "@winnie-ui/css/spatial/typography";@import "@winnie-ui/css/visual/typography";
Anatomy
Attach the appropriate data
attributes in the structure below.
<h1 data-component="heading" />
Examples
Size
Use the data-size
attribute to change the size.
Color
Use the data-accent-color
attribute to change the color.
Contrast
Use the data-contrast
attribute to change the contrast.
Weight
Use the data-weight
attribute to change the weight.
Alignment
Use the data-align
attribute to change the alignment.
Reference
heading
Represents the heading element.