Back to Component Browser

EmptyState

Quartz

lib/quartz/components/EmptyState/index.ts

Preview

No items found

Import

import { EmptyState } from '@/lib/quartz';

Props (4)

NameTypeRequiredDefaultDescription
sizeenumoptionalmediumThe size of the `<EmptyState>`.
iconReactNoderequired—A slot for the icon to display. Typically an SVG rendered as a React component
descriptionReactNoderequired—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,...
actionSlotReactNodeoptional—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.