PageHeader
Since 0.1.0-alpha.24IzzyBlazor.PageHeader in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (8)
Titlestring requiredThe page's title, such as "Invoices".
TitleLevelint = 1The heading level of Title, 1 to 6. Defaults to 1, the page's main heading.
Badgestring?A status beside the title, as a badge with a dot: an invoice's "Overdue", an order's "Shipped". It's read after the title.
BadgeStatusStatus = Status.NeutralThe badge's color, such as Status.Danger. Defaults to neutral.
Descriptionstring?A muted line under the title: what the page is for, in a sentence.
ChildContentRenderFragment?Anything else under the description, such as a status line, and any PageHeaderMedia or PageHeaderActions.
SizeControlSize = ControlSize.MdThe title and description size: ControlSize.Sm (a 20px title, 14px description) for a section inside a page, ControlSize.Md (24px and 16px, the default) for most pages, ControlSize.Lg (30px and 16px) for a page with little else on it, such as a sign-in form.
Centeredbool = falseCenters the title and description, with any PageHeaderMedia above them and any PageHeaderActions below: for a page that is one narrow column, such as a sign-in form.
Events (0)
No events.
Parts (2)
Components written inside PageHeader, documented here with it.
PageHeaderMedia
A picture before a PageHeader's title on a record's page, such as a contact's Avatar or a company's logo. Write it directly in the header; it's centered on the title and description, and stays beside them on a phone.
ChildContentRenderFragment?The part's content.
PageHeaderActions
Buttons, links or a status at the end of a PageHeader, such as "New invoice" or a badge. Write it directly in the header; it's drawn after the title and wraps under it on narrow screens.
FloatLabelstring? = "Actions"The speed dial's name when more than one of its buttons floats on a small screen (FloatBelow), such as "Create". Defaults to "Actions".
ChildContentRenderFragment?The part's content.
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. |
Status
enumThe meaning of a piece of feedback: badges, and later alerts and toasts. Status colors are for telling people what happened, not for actions; see Accent.
| Value | Description |
|---|---|
Neutral | No particular meaning (the default). |
Info | Information, such as "New" or "Beta". |
Success | Done or healthy, such as "Published". |
Warning | Needs attention, such as "In review" or "Expiring". |
Danger | Failed or blocked, such as "Error" or "Overdue". |