No Projects Yet
You haven't created any projects yet. Get started by creating your first project.
Import Project
Copy import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/components/ui/empty"
Copy < Empty >
< EmptyHeader >
< EmptyMedia variant = "icon" >
< Icon />
</ EmptyMedia >
< EmptyTitle > No data </ EmptyTitle >
< EmptyDescription > No data found </ EmptyDescription >
</ EmptyHeader >
< EmptyContent >
< Button > Add data </ Button >
</ EmptyContent >
</ Empty >
Use the following composition to build an Empty state:
Copy Empty
├── EmptyHeader
│ ├── EmptyMedia
│ ├── EmptyTitle
│ └── EmptyDescription
└── EmptyContent
Use the border utility class to create an outline empty state.
Cloud Storage Empty
Upload files to your cloud storage to access them anywhere.
Upload Files
Use the bg-* and bg-gradient-* utilities to add a background to the empty state.
No Notifications
You're all caught up. New notifications will appear here.
Use the EmptyMedia component to display an avatar in the empty state.
LR
User Offline
This user is currently offline. You can leave a message to notify them or try again later.
Use the EmptyMedia component to display an avatar group in the empty state.
No Team Members
Invite your team to collaborate on this project.
You can add an InputGroup component to the EmptyContent component.
404 - Not Found
The page you're looking for doesn't exist. Try searching for what you need below.
To enable RTL support, see the RTL configuration guide .
لا توجد مشاريع بعد
لم تقم بإنشاء أي مشاريع بعد. ابدأ بإنشاء مشروعك الأول.
استيراد مشروع
The main component of the empty state. Wraps the EmptyHeader and EmptyContent components.
Copy < Empty >
< EmptyHeader />
< EmptyContent />
</ Empty >
The EmptyHeader component wraps the empty media, title, and description.
Copy < EmptyHeader >
< EmptyMedia />
< EmptyTitle />
< EmptyDescription />
</ EmptyHeader >
Use the EmptyMedia component to display the media of the empty state such as an icon or an image. You can also use it to display other components such as an avatar.
Copy < EmptyMedia variant = "icon" >
< Icon />
</ EmptyMedia >
Copy < EmptyMedia >
< Avatar >
< AvatarImage src = "..." />
< AvatarFallback > CN </ AvatarFallback >
</ Avatar >
</ EmptyMedia >
Use the EmptyTitle component to display the title of the empty state.
Copy < EmptyTitle > No data </ EmptyTitle >
Use the EmptyDescription component to display the description of the empty state.
Copy < EmptyDescription > You do not have any notifications. </ EmptyDescription >
Use the EmptyContent component to display the content of the empty state such as a button, input or a link.
Copy < EmptyContent >
< Button > Add Project </ Button >
</ EmptyContent >