Empty

A centred message for a place with nothing in it yet.

Feedback Added in v0.76.3 Updated

Default

No messages yet

Messages from your visitors will show up here.


{ui empty,
	icon: 'inbox',
	title: 'No messages yet',
	description: 'Messages from your visitors will show up here.',
}
	{ui button, title: 'Share your form', class: 'button-outline' /}
{/ui}

An empty place should say what is missing and what to do about it. icon sits above title, which names what is missing, and description says what will fill the place. The tag's content is the next step, usually one button, and it is left out of the markup when there is none. Use button-outline on the button when the page already has a primary action elsewhere.

Title only

Nothing to review


{ui empty, title: 'Nothing to review' /}

Every part is optional, so the shortest empty state is a title. It has no border or background of its own, so it sits inside a card, a table's {block empty} or a bare region of the page. See the empty state pattern for both.