mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-25 13:46:07 +00:00
37 lines
963 B
TypeScript
37 lines
963 B
TypeScript
import { Button } from "@/examples/radix/ui/button"
|
|
import {
|
|
Empty,
|
|
EmptyContent,
|
|
EmptyDescription,
|
|
EmptyHeader,
|
|
EmptyTitle,
|
|
} from "@/examples/radix/ui/empty"
|
|
import { ArrowUpRightIcon } from "lucide-react"
|
|
|
|
export function EmptyBasic() {
|
|
return (
|
|
<Empty>
|
|
<EmptyHeader>
|
|
<EmptyTitle>No projects yet</EmptyTitle>
|
|
<EmptyDescription>
|
|
You haven't created any projects yet. Get started by creating
|
|
your first project.
|
|
</EmptyDescription>
|
|
</EmptyHeader>
|
|
<EmptyContent>
|
|
<div className="flex gap-2">
|
|
<Button asChild>
|
|
<a href="#">Create project</a>
|
|
</Button>
|
|
<Button variant="outline">Import project</Button>
|
|
</div>
|
|
<Button variant="link" asChild className="text-muted-foreground">
|
|
<a href="#">
|
|
Learn more <ArrowUpRightIcon />
|
|
</a>
|
|
</Button>
|
|
</EmptyContent>
|
|
</Empty>
|
|
)
|
|
}
|