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
  0e194ec3_4385_6f77_e66f_e45ddfbacd76["empty-card.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  0e194ec3_4385_6f77_e66f_e45ddfbacd76 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  29a55916_5997_18bd_e445_208bb7dd8efa["empty"]
  0e194ec3_4385_6f77_e66f_e45ddfbacd76 --> 29a55916_5997_18bd_e445_208bb7dd8efa
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  0e194ec3_4385_6f77_e66f_e45ddfbacd76 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 0e194ec3_4385_6f77_e66f_e45ddfbacd76 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Button } from "@/examples/base/ui/button"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/examples/base/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 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

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/base/empty-card.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/base).

Analyze Your Own Codebase

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

Try Supermodel Free