Home / File/ empty-card.tsx — ui Source File

empty-card.tsx — ui Source File

Architecture documentation for empty-card.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx DocumentationAtlas Changelog 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb["empty-card.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  7277b9e1_25cb_9c37_cdd3_48ed692fffa2["empty"]
  51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb --> 7277b9e1_25cb_9c37_cdd3_48ed692fffa2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 51e402ad_aa24_c3e4_15ab_4ba2fbdf6feb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/radix/ui/button"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/examples/radix/ui/empty"
import { ArrowUpRightIcon, FolderIcon } from "lucide-react"

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

Functions

Dependencies

  • button
  • empty
  • lucide-react

Frequently Asked Questions

What does empty-card.tsx do?
empty-card.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in empty-card.tsx?
empty-card.tsx defines 1 function(s): EmptyInCard.
What does empty-card.tsx depend on?
empty-card.tsx imports 3 module(s): button, empty, lucide-react.
Where is empty-card.tsx in the architecture?
empty-card.tsx is located at apps/v4/examples/radix/empty-card.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free