c-empty-12.tsx
import { Button } from "@/components/ui/button"
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/components/ui/empty"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export function Pattern() {
return (
<div className="flex items-center justify-center p-4">
<Card className="w-full max-w-md">
<CardHeader>
<CardTitle>Tasks</CardTitle>
<CardDescription>Track and manage your to-dos.</CardDescription>
</CardHeader>
<CardContent>
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconPlaceholder
lucide="CircleCheckIcon"
tabler="IconCircleCheck"
hugeicons="CheckmarkCircle01Icon"
phosphor="CheckCircleIcon"
remixicon="RiCheckboxCircleLine"
/>
</EmptyMedia>
<EmptyTitle>All clear</EmptyTitle>
<EmptyDescription>
You have no pending tasks. Enjoy the downtime or create a new
one.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button size="sm" variant="outline">
<IconPlaceholder
lucide="PlusIcon"
tabler="IconPlus"
hugeicons="PlusSignIcon"
phosphor="PlusIcon"
remixicon="RiAddLine"
data-icon="inline-start"
/>
New Task
</Button>
</EmptyContent>
</Empty>
</CardContent>
</Card>
</div>
)
}

























