IEmptyStateSlots
interface
Feedback & Status
Slot contract for OrigamEmptyState. All slots are optional. The default slot replaces the entire built-in layout; targeted slots (icon, title, description, actions) swap individual pieces.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- default() => any
- Replaces the entire built-in layout (icon + title + description + actions) for a fully bespoke empty page.
- icon() => any
- Replaces the default OrigamIcon. Use for SVG or <img> illustrations. Mark aria-hidden="true" for decorative content.
- title() => any
- Replaces the rendered title element. Wins over the title prop when both are provided.
- description() => any
- Replaces the rendered description element. Wins over the description prop when both are provided.
- actions() => any
- Actions row rendered below the description. Typically holds 1–2 buttons (Create, Retry, Sign in …).
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom illustration with a retry action