@phase2/outline-heading
v0.1.5
Published
The Outline Components for the web heading component
Downloads
341
Readme
outline-heading
The Heading component.
Properties
| Property | Attribute | Type | Default | Description |
|--------------|---------------|--------------------------------------------------|---------|--------------------------------------------------|
| level
| level
| string \| undefined
| "h2" | The tag to apply: h1 | h2 | h3 | h4 | h5 | h6 |
| levelSize
| level-size
| "xs" \| "sm" \| "base" \| "lg" \| "xl" \| "2xl" \| "3xl" \| "4xl" \| "5xl" \| "6xl" \| "7xl" \| "8xl" \| "9xl"
| | The heading level size to apply. Optional override to default styles for a given level |
| levelStyle
| level-style
| "medium" \| "black" \| "thin" \| "extralight" \| "light" \| "normal" \| "semibold" \| "bold" \| "extrabold"
| "bold" | The heading level style to apply. Optional override to default styles for a given level |
Slots
| Name |
|---------------|
| defaultSlot
|