ICommandPaletteSlots
interface
Navigation
Slot contract of OrigamCommandPalette — provides three override points: a scoped #item slot per result row, a #empty slot for the no-results state, and a #footer slot below the list.
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.
- item(props: ICommandPaletteSlotProps) => any
- Scoped slot that replaces the default command row. Receives { command, isActive }.
- empty() => any
- Slot rendered when the query matches zero commands (overrides emptyText).
- 'search-icon'() => any
- loading() => any
- footer() => any
- Slot rendered below the result list — useful for keyboard shortcut hints or a "Create new…" affordance.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom empty state and footer