Error State
Page-level and inline error presentation for 404, 500, 403, 503 and panel-load failures. Ships with ready-to-route pages at /error/404, /error/403, /error/500, /error/offline.
Page mode — 404 Not found
Page mode — 500 with collapsible details
Page mode — 403 Forbidden
Page mode — Offline / maintenance
Inline mode — failed panel load
Use inline mode inside cards, tabs, or data panels when a portion of the UI fails to load. Smaller footprint, still actionable.
Couldn't load patients
The request timed out after 10 seconds. Check your connection and try again.
No results
Your search didn't match any records. Try broadening your filters.
Inline tones
Rate limit exceeded
You're making requests too quickly. Please wait a moment before retrying.
Nothing to show yet
Data will appear here once the first sync completes.
Usage
Error404.razorrazor
@page "/error/404"
@layout MainLayout
<ErrorState Mode="page"
Tone="neutral"
StatusCode="404"
Title="Page not found"
Description="We couldn't find the page you were looking for.">
<Actions>
<Button Variant="secondary" Text="Go back" />
<Button Variant="primary" Text="Return home" />
</Actions>
</ErrorState>
@* Inline inside a panel that failed to load *@
<ErrorState Mode="inline" Tone="error" Bordered="true"
Title="Couldn't load patients"
Description="The request timed out. Check your connection and try again.">
<Actions>
<Button Variant="secondary" Size="sm" Text="Retry" />
</Actions>
</ErrorState>