title | LocalizedMessage | — | Heading copy of the empty region. |
announce | boolean | — | Makes the block a polite live region (role="status") so a screen reader announces it when it appears after a
filter or search. Defaults to true for {@link ComposedEmptyStateTone.NoResults} and false otherwise. |
className | string | — | Classes appended after the generated classes. |
description | LocalizedMessage | DisplayValue | — | Supporting copy under the title. Copy or runtime data, such as a message the caller received. |
icon | Glyph | — | Glyph in EmptyState's icon well, between the illustration and the title. Decorative. |
id | string | — | Id of the root element. |
illustration | ReactNode | — | An illustration above the icon well: an Icon or an Image. Decorative, so the block hides it from assistive
technology; the title and description carry the meaning. |
primaryAction | ReactNode | — | The action that recovers the region or creates its first record. Normally one Button. |
ref | Ref<HTMLDivElement> | — | Ref to the root element. |
secondaryAction | ReactNode | — | A lesser path, such as documentation or configuration. A Button or a Link. Renders after primaryAction. |
size | ComposedEmptyStateSize | — | How much of its region the block takes. Defaults to {@link ComposedEmptyStateSize.Page}. |
tone | ComposedEmptyStateTone | — | Why the region is empty. Defaults to {@link ComposedEmptyStateTone.NoData}. |