WireScript
Components

empty

Empty state placeholder.

An empty state placeholder shown when there's no content to display.

Usage

With Icon

Properties

accepts contentaccepts children

Dimensions

PropertyTypeDefault
:widthany-
:heightany-

Note: The content string (e.g., (empty "No items")) and :message property serve the same purpose - providing the main text. Use whichever is more convenient.

Examples

Basic Empty State

Empty State with Action

Empty Search Results

Empty Inbox

Empty Cart

Empty Notifications

Empty Table

Error State

Using Message Property

On this page