<ui-empty-state>
Placeholder for empty content with an optional action.
Feedback · stable · since 2.0.0 · extends _UIElement
Examples
<ui-empty-state heading="No projects" description="Create one to start." icon="folder-open"></ui-empty-state>
<ui-empty-state heading="Nothing here"></ui-empty-state>
Playground
Generated HTML
Event log
API
Attributes and properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
disabled | disabled | boolean | false | |
busy | data-ui-busy | boolean | false | |
heading | heading | string | "" | Title. |
description | description | string | "" | Explanation. |
icon | icon | string | "" | Font Awesome icon name. |
Methods
None.
Events
None.
Slots
action— Call to action.
CSS classes
- Base class:
ui-empty-state