ErrorState
Properties
Use ErrorState
A failed content region with an optional retry and supporting actions.
Design notes
- Use when content is unavailable because a request failed. Leave still-usable content in place for errors that affect a single action.
- Share EmptyState layout and density in related regions. The row layout keeps recovery at the trailing edge until it needs to wrap below the message.
- Provide onRetry only when the host can retry the request. Use retrying to hold the focused button and its dimensions while the request runs. Restore focus to a persistent destination when the result replaces the error. Announce operation changes through the host's one status region.
API reference
View TypeScript source