Home / Function/ EmptyInCard() — ui Function Reference

EmptyInCard() — ui Function Reference

Architecture documentation for the EmptyInCard() function in empty-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  fcbdff5e_2396_f9ae_053d_eed01fc68b5f["EmptyInCard()"]
  71239b7e_c31e_1af0_ec5e_b0c8d6fe370a["empty-example.tsx"]
  fcbdff5e_2396_f9ae_053d_eed01fc68b5f -->|defined in| 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a
  style fcbdff5e_2396_f9ae_053d_eed01fc68b5f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/empty-example.tsx lines 211–254

function EmptyInCard() {
  return (
    <Example title="In Card">
      <Empty>
        <EmptyHeader>
          <EmptyMedia variant="icon">
            <IconPlaceholder
              lucide="FolderIcon"
              tabler="IconFolder"
              hugeicons="Folder01Icon"
              phosphor="FolderIcon"
              remixicon="RiFolderLine"
            />
          </EmptyMedia>
          <EmptyTitle>No projects yet</EmptyTitle>
          <EmptyDescription>
            You haven&apos;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{" "}
              <IconPlaceholder
                lucide="ArrowUpRightIcon"
                tabler="IconArrowUpRight"
                hugeicons="ArrowUpRight01Icon"
                phosphor="ArrowUpRightIcon"
                remixicon="RiArrowRightUpLine"
              />
            </a>
          </Button>
        </EmptyContent>
      </Empty>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyInCard() do?
EmptyInCard() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/empty-example.tsx.
Where is EmptyInCard() defined?
EmptyInCard() is defined in apps/v4/registry/bases/radix/examples/empty-example.tsx at line 211.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free