Empty state component is used as a placeholder in place of a table or other data that's currently missing.
The default card variant renders the empty state on a white card with a box shadow. Use this variant when you need contrast against the page background.
The minimal variant renders the empty state without any additional padding, borders or background treatments.
In it's simplest form, Empty State renders text only.
You can add an image to it.
Use imageFilter to determine if the image displays in color (default), or in black and white.
You can include call to actions.
You can do it all.
Inherits margin props.
| Name | Default | Description |
|---|---|---|
variant | "card" | "card" | "minimal"Determines if the empty state should have a card background and box shadow. |
imageUrl | — | stringURL to an image, which will be displayed above the title. |
imageFilter | "default" = No filter is applied. | "default" | "blackAndWhite"Determines the filter to apply to the image. |
title | — | stringTitle that describes the empty state in a few words. |
message | — | ReactNodeExtended explanation. |
actions | — | ReactNodeCall-to-action buttons or links. |