Home / Function/ EmptyInCard() — ui Function Reference

EmptyInCard() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  82470e05_ed5b_3802_e531_8de5ef9d69f0["EmptyInCard()"]
  0e194ec3_4385_6f77_e66f_e45ddfbacd76["empty-card.tsx"]
  82470e05_ed5b_3802_e531_8de5ef9d69f0 -->|defined in| 0e194ec3_4385_6f77_e66f_e45ddfbacd76
  style 82470e05_ed5b_3802_e531_8de5ef9d69f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/empty-card.tsx lines 12–43

export function EmptyInCard() {
  return (
    <Empty>
      <EmptyHeader>
        <EmptyMedia variant="icon">
          <FolderIcon />
        </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 <ArrowUpRightIcon />
        </Button>
      </EmptyContent>
    </Empty>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyInCard() do?
EmptyInCard() is a function in the ui codebase, defined in apps/v4/examples/base/empty-card.tsx.
Where is EmptyInCard() defined?
EmptyInCard() is defined in apps/v4/examples/base/empty-card.tsx at line 12.

Analyze Your Own Codebase

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

Try Supermodel Free