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

empty-demo.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  37918ea4_962f_bee3_f3a5_dcc4842a456e["empty-demo.tsx"]
  4544fa74_9b37_0912_c55e_f4ff161b8e83["button"]
  37918ea4_962f_bee3_f3a5_dcc4842a456e --> 4544fa74_9b37_0912_c55e_f4ff161b8e83
  29a55916_5997_18bd_e445_208bb7dd8efa["empty"]
  37918ea4_962f_bee3_f3a5_dcc4842a456e --> 29a55916_5997_18bd_e445_208bb7dd8efa
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  37918ea4_962f_bee3_f3a5_dcc4842a456e --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  37918ea4_962f_bee3_f3a5_dcc4842a456e --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 37918ea4_962f_bee3_f3a5_dcc4842a456e 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 { IconFolderCode } from "@tabler/icons-react"
import { ArrowUpRightIcon } from "lucide-react"

export default function EmptyDemo() {
  return (
    <Empty>
      <EmptyHeader>
        <EmptyMedia variant="icon">
          <IconFolderCode />
        </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 className="flex-row justify-center gap-2">
        <Button>Create Project</Button>
        <Button variant="outline">Import Project</Button>
      </EmptyContent>
      <Button
        variant="link"
        render={<a href="#" />}
        className="text-muted-foreground"
        size="sm"
        nativeButton={false}
      >
        Learn More <ArrowUpRightIcon />
      </Button>
    </Empty>
  )
}

Subdomains

Functions

Dependencies

  • button
  • empty
  • icons-react
  • lucide-react

Frequently Asked Questions

What does empty-demo.tsx do?
empty-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in empty-demo.tsx?
empty-demo.tsx defines 1 function(s): EmptyDemo.
What does empty-demo.tsx depend on?
empty-demo.tsx imports 4 module(s): button, empty, icons-react, lucide-react.
Where is empty-demo.tsx in the architecture?
empty-demo.tsx is located at apps/v4/examples/base/empty-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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