Empty

An empty state with media, title, description, and content slots.

The Empty component communicates "nothing here yet" states. Compose it from Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, and EmptyContent.

Preview

No messages
You're all caught up. New messages will show up here.

Usage

Installation

$ npx shadcn@latest add https://spark-ui-olive.vercel.app/r/empty.json

Properties

PropTypeDefaultDescription
variant"default" | "icon""default"EmptyMedia only: icon renders a muted rounded tile sized for an icon.
classNamestringAdditional CSS classes. Available on every Empty subcomponent.