Empty State

The ArcadiaEmptyState component provides a visual placeholder with icon, title, description, and optional action button for empty data scenarios.

Basic Usage

<ArcadiaEmptyState Title="No results found"
                   Description="Try adjusting your search or filters." />

<ArcadiaEmptyState Title="No projects yet" Size="lg">
    <ActionTemplate>
        <button>Create Project</button>
    </ActionTemplate>
</ArcadiaEmptyState>

Parameters

ParameterTypeDefaultDescription
Titlestring?"No data"Title text displayed in the empty state.
Descriptionstring?nullOptional description text below the title.
IconRenderFragment?nullCustom icon rendered above the title. A default icon is used if not provided.
ActionTemplateRenderFragment?nullOptional action template (e.g., a button to create the first item).
Sizestring"md"Size: "sm", "md", "lg".
Classstring?nullAdditional CSS class names.
Stylestring?nullInline CSS styles.

Accessibility

  • The default icon SVG uses aria-hidden="true".
  • Content is semantic text, readable by screen readers without additional ARIA attributes.