c-empty-5.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>Recent Documents</CardTitle>
<CardDescription>
A list of your recently opened documents.
</CardDescription>
</CardHeader>
<CardContent>
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconPlaceholder
lucide="FileIcon"
tabler="IconFile"
hugeicons="FileEmpty02Icon"
phosphor="FileIcon"
remixicon="RiFileLine"
/>
</EmptyMedia>
<EmptyTitle>No documents yet</EmptyTitle>
<EmptyDescription>
You haven't opened any documents recently.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<Button size="sm">Create Document</Button>
</EmptyContent>
</Empty>
</CardContent>
</Card>
</div>
)
}
























