ListPlaceholder

Examples

Displays helpful content when a List, Tiles, or Table has no content to show, either while the data is being fetched, nothing matches search or filter criteria, or there just aren't any items to begin with.

NOTE: This component comes from the grommet-addons repository. You will need to add a dependency to that repository in order to use it.

Properties

addControl {element}
An control to show when there are no items in existence.
emptyMessage {string}
What to say when there are no items in existence. Defaults to 'None'.
filteredTotal {number}
How many items match the current search and/or filters.
unfilteredTotal {number}
How many items exist.