Feedbacksrc/components/ui/empty.tsx
Empty
A placeholder state for empty lists, dashboards, or search results.
Preview
No Projects Yet
You haven't created any projects yet. Get started by creating your first project.
Learn More
Cloud Storage Empty
Upload files to your cloud storage to access them anywhere.
No Notifications
You're all caught up. New notifications will appear here.
LR
User Offline
This user is currently offline. You can leave a message to notify them or try again later.
CN
LR
ER
No Team Members
Invite your team to collaborate on this project.
Installation
Copy the component source into your project with `degit`. This port is intentionally not distributed as an npm package.
bunx degit https://github.com/LiasCode/shadcn-preact/src/components/ui#main ./src/components/uiUsage
import { Empty } from "@/components/ui/empty"
export function Example() {
return <Empty>Empty</Empty>
}API Reference
ExportPurpose
EmptyComposable part exported by `@/components/ui/empty`.