<empty>
A centered nothing-here placeholder: a large icon, a title, a line of help and an optional button.
Aliases
Reset to canonicalThis tag has more than one name. Every spelling is the same tag, so write whichever feels natural. Pick one and every example on this page uses it.
<empty icon="search_off"
title="No results"
subtitle="Try another word, or clear the filters.">
<button action="$query = ''">Clear filters</button>
</empty>
Attributes
| Name | What it does | Default |
|---|---|---|
icon |
Icon name string |
inbox |
icon-color |
Icon color color |
gray-400 |
subtitle |
Subtitle/description text string |
|
title |
Title text string |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.