Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

SectionHeader

Since 0.1.0-alpha.24
Introduces a section of a landing page: an eyebrow, a heading and a sentence.

IzzyBlazor.SectionHeader in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (8)

Titlestring requiredAdded in 0.1.0-alpha.24

The heading, such as "Everything you need to run your work".

TitleLevelint = 2Added in 0.1.0-alpha.24

The heading level of Title, 1 to 6. Defaults to 2, a section under the page's h1.

TitleIdstring?Added in 0.1.0-alpha.24

The heading's id, for the section's aria-labelledby.

Descriptionstring?Added in 0.1.0-alpha.24

A muted sentence under the heading: what the section is about.

Eyebrowstring?Added in 0.1.0-alpha.24

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.

AlignResponsive<TextAlign> = CenterResponsiveAdded in 0.1.0-alpha.24

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.MdAdded in 0.1.0-alpha.24

The 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?Added in 0.1.0-alpha.24

Anything under the sentence, such as a link or buttons.

Events (0)

No events.

Types (2)

ControlSize

enum

The 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.

ControlSize values
ValueDescription
Sm

32px tall, small text.

Md

36px tall (the default).

Lg

44px tall, large text. For touch-first and marketing pages.

TextAlign

enum

Horizontal text alignment. Start and End follow the reading direction.

TextAlign values
ValueDescription
Start

Left in left-to-right languages.

Center

Centered.

End

Right in left-to-right languages.

Justify

Justified to both edges.

Connection lost

Rejoining the server…