<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

    PropertyAttributeTypeDefaultDescription
    disableddisabledbooleanfalse
    busydata-ui-busybooleanfalse
    headingheadingstring""Title.
    descriptiondescriptionstring""Explanation.
    iconiconstring""Font Awesome icon name.

    Methods

    None.

    Events

    None.

    Slots

    CSS classes