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
  99ff301c_9ba6_f048_f022_ff23ed0c7d43["EmptyInCard()"]
  51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb["empty-card.tsx"]
  99ff301c_9ba6_f048_f022_ff23ed0c7d43 -->|defined in| 51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb
  style 99ff301c_9ba6_f048_f022_ff23ed0c7d43 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/empty-card.tsx lines 12–40

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 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>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyInCard() do?
EmptyInCard() is a function in the ui codebase, defined in apps/v4/examples/radix/empty-card.tsx.
Where is EmptyInCard() defined?
EmptyInCard() is defined in apps/v4/examples/radix/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