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
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef["empty-demo.tsx"]
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  7277b9e1_25cb_9c37_cdd3_48ed692fffa2["empty"]
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef --> 7277b9e1_25cb_9c37_cdd3_48ed692fffa2
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef 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 { 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"
        asChild
        className="text-muted-foreground"
        size="sm"
      >
        <a href="#">
          Learn More <ArrowUpRightIcon />
        </a>
      </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/radix/empty-demo.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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