SectionHeader
Since 0.1.0-alpha.24IzzyBlazor.SectionHeader in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (8)
Titlestring requiredThe heading, such as "Everything you need to run your work".
TitleLevelint = 2The heading level of Title, 1 to 6. Defaults to 2, a section under the page's h1.
TitleIdstring?The heading's id, for the section's aria-labelledby.
Descriptionstring?A muted sentence under the heading: what the section is about.
Eyebrowstring?A short pill above the heading in the accent color, such as "Pricing". Leave it out on most sections: a pill on every one is noise.
Where the text sits, per breakpoint. Defaults to TextAlign.Center. Over content that starts at the edge on phones, such as a list of features, use new() { Base = TextAlign.Start, Md = TextAlign.Center }.
SizeControlSize = ControlSize.MdThe heading and sentence size: ControlSize.Sm (20px and 16px) for a section in a card, ControlSize.Md (36px and 18px, 30px and 16px on phones; the default), ControlSize.Lg (48px, 36px on phones) for a page made of one section.
ChildContentRenderFragment?Anything under the sentence, such as a link or buttons.
Events (0)
No events.
Types (2)
ControlSize
enumThe height of interactive controls. Shared by buttons and form fields, so a button and an input of the same size line up in a row.
| Value | Description |
|---|---|
Sm | 32px tall, small text. |
Md | 36px tall (the default). |
Lg | 44px tall, large text. For touch-first and marketing pages. |
TextAlign
enumHorizontal text alignment. Start and End follow the reading direction.
| Value | Description |
|---|---|
Start | Left in left-to-right languages. |
Center | Centered. |
End | Right in left-to-right languages. |
Justify | Justified to both edges. |