Skip to content

Empty

Explain why a collection is empty and offer a next action.

alpina-ui/ui/empty

Interactive preview

No matching publications
This filter shows only monographs from 1960.

Usage notes

Explain why the view is empty and offer a recovery action, such as clearing a filter. Set the heading level to fit the page.

When to use

Explain an empty collection and offer the next useful action, such as creating its first address.

When to avoid

A pending request needs a loading state. A failed request needs an error and a way to retry.

Accessibility

Keep the heading and recovery action in reading order. After applying a filter, announce the result count near the search control.

Keys
KeyAction
Tab / Shift+TabMove through any links or controls supplied inside the component, in document order.

Content

Use a short factual heading followed by one next step. Distinguish an empty collection from a search with no matches.

Use
No invoices yet. Create your first invoice.
Avoid
Nothing here.

Copy in four languages

German
Noch keine Rechnungen21 characters
French
Aucune facture pour le moment29 characters
Italian
Nessuna fattura per ora23 characters
Romansh
Anc nagins quints17 characters
Add to your project
npx --no-install alpina add empty