TEmptyStatePreset
type
Interaction & State
Visual presets for <OrigamEmptyState>. Each preset bundles a default icon and intent so consumers do not need to wire those by hand for the common cases.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Accepted
Values
Accepted string literal values for this type. Click a value to copy it.
- error
- An operation or data fetch failed. The CTA is typically a retry button.
- no-data
- Generic "nothing to show yet" placeholder — used when a collection is empty and no search/filter is active.
- no-results
- A search or filter returned no matching items. The CTA typically invites the user to clear or adjust filters.
- offline
- No network connection detected. The CTA typically offers offline-mode or a reconnect action.
- locked
- The feature is gated behind authentication, a pricing plan, or permissions. The CTA invites the user to upgrade or sign in.
Ecosystem
Used by
Components and props that accept this type as a value.
Usage
Examples
Ready-to-paste code snippets using this type.
No-data empty state
Error empty state with retry