Back to Component Browser
EmptyState
Quartzlib/quartz/components/EmptyState/index.ts
Preview
No items found
Import
import { EmptyState } from '@/lib/quartz';Props (4)
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| size | enum | optional | medium | The size of the `<EmptyState>`. |
| icon | ReactNode | required | — | A slot for the icon to display. Typically an SVG rendered as a React component |
| description | ReactNode | required | — | A slot for the description rendered inside of a `<p>` tag. Generally, just provide a string. We allow a ReactNode to allow for rich text (like bolded,... |
| actionSlot | ReactNode | optional | — | A slot for an action to be displayed below the description. Typically, this is an action to give the user somewhere to go when displaying the empty st... |
Usage
Not used in any projects yet.