mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 16:14:13 +00:00
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import { IconFolderCode } from "@tabler/icons-react"
|
|
import { ArrowUpRightIcon } from "lucide-react"
|
|
|
|
import { Button } from "@/styles/base-nova/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyMedia,
|
|
EmptyTitle,
|
|
} from "@/styles/base-nova/ui/empty"
|
|
|
|
export default function EmptyDemo() {
|
|
return (
|
|
<Empty>
|
|
<EmptyHeader>
|
|
<EmptyMedia variant="icon">
|
|
<IconFolderCode />
|
|
</EmptyMedia>
|
|
<EmptyTitle>No Projects Yet</EmptyTitle>
|
|
<EmptyDescription>
|
|
You haven't created any projects yet. Get started by creating
|
|
your first project.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent className="flex-row justify-center gap-2">
|
|
<Button>Create Project</Button>
|
|
<Button variant="outline">Import Project</Button>
|
|
</EmptyContent>
|
|
<Button
|
|
variant="link"
|
|
render={<a href="#" />}
|
|
className="text-muted-foreground"
|
|
size="sm"
|
|
nativeButton={false}
|
|
>
|
|
Learn More <ArrowUpRightIcon />
|
|
</Button>
|
|
</Empty>
|
|
)
|
|
}
|