ThiloDesign System
DV

Empty

shadcn/ui
v4 only

Empty state for tables, lists, and panels. Always explain why and show a next action.

@/components/ui/empty

Variants

No data — with action

No tickets found
Create your first ticket to get started.

No search results — with clear

No matches for "kubernetes"
Try different keywords or remove filters.

Positive — no action needed

All caught up
No assigned tickets. New assignments appear here.

Error / permission

Access denied
You don't have permission to view this resource.

In context — empty ticket table

IDDescriptionStatusAssignee
No open tickets
All tickets are resolved or filtered out.

Usage rules

SituationGuidance
No data (nothing created yet)Encourage creation — show a primary action button
Filters activeExplain that filters hide results — offer "Clear filters" CTA
Search yielded nothingShow the search term — "No matches for \"X\""
Permission errorExplain why access is blocked — don't just show "Empty"
Positive empty (inbox zero)No CTA needed — use positive, encouraging copy

Sub-components

ComponentRole
EmptyRoot wrapper — centered flex column, padding
EmptyHeaderTop section — icon + title + description stacked
EmptyMediaIcon or illustration container. variant: "icon" | "image"
EmptyTitleMain heading — text-base font-semibold
EmptyDescriptionSubtext — text-sm text-muted-foreground
EmptyContentAction area below the header — buttons, links

On this page