IEmptyStateProps

interface
Feedback & Status

Props for OrigamEmptyState — the placeholder shown when a list, table or collection has nothing to display. Five built-in visual presets (no-data, no-results, error, offline, locked) bundle icon and intent; both can be overridden.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

preset
TEmptyStatePreset
'no-data'
Visual preset — bundles a default icon and intent. One of: no-data, no-results, error, offline, locked.
title
string
Primary heading. Override entirely via the #title slot for richer markup.
description
string
Optional sub-heading rendered below the title. Multiple lines supported.
icon
TIcon
Override the preset icon. Accepts an MDI/iconify string, SVG path tuples or a Vue Component.
iconColor
TIntent
Override the preset icon color intent (primary, success, danger, warning, info …).
size
TEmptyStateSize
'md'
Vertical density — drives icon size, font sizes, padding and gap.
align
TEmptyStateAlign
'center'
Horizontal alignment of the icon / title / description / actions stack.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Empty search results placeholder

html