components/bits/EmptyState#
EmptyState()#
The app's single "there is nothing here" surface: a circular icon well over a title and an optional hint. Every gateway/sharing empty used to hand-roll this with slightly different sizes and colors.
Only ever render this once loading has finished — an empty state shown while
data is still in flight tells the user something false. Use SkeletonList for
the loading case.
Parameters#
| Parameter | Type |
|---|---|
props |
EmptyStateProps |
Returns#
Element
EmptyStateProps#
Properties#
action?#
Optional call to action rendered under the description.
dense?#
Tighter vertical rhythm for empties inside a card or a short region.