title | LocalizedMessage | — | Page title, rendered by the page header as the heading. |
actions | ReactNode | — | Buttons or a ButtonGroup at the inline-end edge of the title row, passed to the page header. |
breadcrumb | ReactNode | — | Breadcrumb above the title, passed to the page header. |
children | ReactNode | — | One or more {@link DashboardLayoutSection }.
A loading dashboard shows no sections.
An empty dashboard shows no sections. |
className | string | — | Classes appended after the generated classes. Put overrides in @layer chroma.overrides. |
description | LocalizedMessage | — | Supporting copy under the title. |
emptyAction | ReactNode | — | A showing dashboard has no empty-state action.
A loading dashboard has no empty-state action.
Primary action under the description, usually a Button. |
emptyDescription | LocalizedMessage | — | A showing dashboard has no empty-state copy.
A loading dashboard has no empty-state copy.
What to do about it. |
emptyTitle | LocalizedMessage | — | A showing dashboard has no empty-state copy.
A loading dashboard has no empty-state copy.
Heading copy of the empty state, such as "No data yet". |
id | string | — | Id of the landmark element. |
landmark | DashboardLayoutLandmark | DashboardLayoutLandmark.Main | The landmark that hosts the dashboard. |
level | PageHeaderLevel | PageHeaderLevel.One | Heading level of the title. The sections below it are one level deeper by default; when this is not
{@link PageHeaderLevel.One}, pass the matching headingLevel to each section. |
loadingLabel | LocalizedMessage | — | Names the pending state of a section that suspends, for assistive technology. Setting it wraps the sections in a
LoadingBoundary whose loading slot is the layout's placeholders. Omit it when nothing in the sections suspends.
The one loading status assistive technology reads. Visually hidden: the placeholders are the visible cue.
An empty dashboard has no pending state. |
loadingShape | DashboardLayoutLoadingShape | — | Placeholder counts for the suspended state.
Placeholder counts.
An empty dashboard has no placeholders. |
ref | Ref<HTMLElement> | — | Ref to the landmark element. |
state | DashboardLayoutState | — | Show the sections.
Replace the sections with placeholders that reserve the layout.
Replace the sections with an empty state. |