First use
Explain an empty collection on first use and offer the first step. One primary action points to the way content gets created.
"use client"
import { InboxIcon } from "lucide-react"
import { Button } from "@/components/ui/button"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyMedia,
EmptyTitle,
} from "@/components/ui/empty"
export function EmptyFirstUse() {
return (
<div className="flex w-full max-w-md flex-col gap-6">
<Empty className="w-full max-w-md">
<EmptyMedia>
<InboxIcon className="size-5" />
</EmptyMedia>
<EmptyTitle>No deployments yet</EmptyTitle>
<EmptyDescription>
Push to the main branch and the first deployment shows up here.
</EmptyDescription>
<EmptyContent>
<Button size="sm">Connect a repository</Button>
</EmptyContent>
</Empty>
</div>
)
}