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
  7b18a1f0_d9cd_0d00_bcba_a62d2fd80f86["EmptyInCard()"]
  cd9b19bf_ceb7_05d0_c420_23f4b40e8464["empty-example.tsx"]
  7b18a1f0_d9cd_0d00_bcba_a62d2fd80f86 -->|defined in| cd9b19bf_ceb7_05d0_c420_23f4b40e8464
  style 7b18a1f0_d9cd_0d00_bcba_a62d2fd80f86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/empty-example.tsx lines 217–263

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 render={<a href="#" />} nativeButton={false}>
              Create project
            </Button>
            <Button variant="outline">Import project</Button>
          </div>
          <Button
            variant="link"
            render={<a href="#" />}
            className="text-muted-foreground"
            nativeButton={false}
          >
            Learn more{" "}
            <IconPlaceholder
              lucide="ArrowUpRightIcon"
              tabler="IconArrowUpRight"
              hugeicons="ArrowUpRight01Icon"
              phosphor="ArrowUpRightIcon"
              remixicon="RiArrowRightUpLine"
            />
          </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/base/examples/empty-example.tsx.
Where is EmptyInCard() defined?
EmptyInCard() is defined in apps/v4/registry/bases/base/examples/empty-example.tsx at line 217.

Analyze Your Own Codebase

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

Try Supermodel Free