Empty
Placeholder for lists, tables, and views that have no data yet. Compose EmptyMedia (icon or illustration), EmptyTitle, EmptyDescription, and EmptyContent for actions.
Default
Stacked isometric media (3D layers that lift apart on hover), title, description, and a call-to-action.
Usage
Import the parts you need from the component's folder.
ts
import {
Empty,
EmptyHeader,
EmptyMedia,
EmptyTitle,
EmptyDescription,
EmptyContent,
} from "@/components/ui/empty";Outline
Use the border utility class to create an outline empty state.
404 - Not Found
The page you are looking for does not exist. Try searching for what you need below.
/
Need help? Contact support
Background
Use the bg-* and bg-gradient-* utilities to add a background to the empty state.
Avatar
Use the EmptyMedia component to display an avatar in the empty state.
Minimal
Just a title and description.
With actions
EmptyContent holds one or more call-to-action buttons.