What a view shows when it has nothing yet, and what to do next.
npx shadcn@latest add @sphere-kit/emptyimport { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia,} from "@/components/ui/empty"One rule for using it well. Open one to see it drawn.
Exports Empty emptyVariants EmptyHeader EmptyTitle EmptyDescription EmptyContent EmptyMedia. Every part takes its element's usual props and a className.
| Prop | Options | Default |
|---|---|---|
| variant | defaultno-resultserrorno-permission | default |
| Prop | Options | Default |
|---|---|---|
| variant | defaulticon | default |