empty-demo.tsx — ui Source File
Architecture documentation for empty-demo.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR db68a269_83cf_cf56_dac5_97b820a66179["empty-demo.tsx"] 39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"] db68a269_83cf_cf56_dac5_97b820a66179 --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] db68a269_83cf_cf56_dac5_97b820a66179 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 57e86e45_ac6e_7278_be08_9092724e8401["button"] db68a269_83cf_cf56_dac5_97b820a66179 --> 57e86e45_ac6e_7278_be08_9092724e8401 347cfa6b_4d3b_aeb9_f88c_873646e39bf0["empty"] db68a269_83cf_cf56_dac5_97b820a66179 --> 347cfa6b_4d3b_aeb9_f88c_873646e39bf0 style db68a269_83cf_cf56_dac5_97b820a66179 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { IconFolderCode } from "@tabler/icons-react"
import { ArrowUpRightIcon } from "lucide-react"
import { Button } from "@/registry/new-york-v4/ui/button"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/registry/new-york-v4/ui/empty"
export default function EmptyDemo() {
return (
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconFolderCode />
</EmptyMedia>
<EmptyTitle>No Projects Yet</EmptyTitle>
<EmptyDescription>
You haven't created any projects yet. Get started by creating
your first project.
</EmptyDescription>
</EmptyHeader>
<EmptyContent>
<div className="flex gap-2">
<Button>Create Project</Button>
<Button variant="outline">Import Project</Button>
</div>
</EmptyContent>
<Button
variant="link"
asChild
className="text-muted-foreground"
size="sm"
>
<a href="#">
Learn More <ArrowUpRightIcon />
</a>
</Button>
</Empty>
)
}
Domain
Subdomains
Functions
Dependencies
- button
- empty
- icons-react
- lucide-react
Source
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 ComponentRegistry domain, ChartRegistry 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/registry/new-york-v4/examples/empty-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free