Empty
Explain why a collection is empty and offer a next action.
alpina-ui/ui/emptyNo 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.
| Key | Action |
|---|---|
| Tab / Shift+Tab | Move 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
npx --no-install alpina add empty