0.1.5 • Published 9 months ago
@phase2/outline-heading v0.1.5
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 |