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. 9 imports, 1 dependents.

File tsx DocumentationAtlas SearchAPI 9 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  1660eb52_851f_959a_424b_885b77543f57["empty-demo.tsx"]
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  1660eb52_851f_959a_424b_885b77543f57 --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  1660eb52_851f_959a_424b_885b77543f57 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  1660eb52_851f_959a_424b_885b77543f57 --> 57e86e45_ac6e_7278_be08_9092724e8401
  c6d6139d_ea69_3d79_5004_68419bae2ac0["card"]
  1660eb52_851f_959a_424b_885b77543f57 --> c6d6139d_ea69_3d79_5004_68419bae2ac0
  0896a8fa_5462_a73a_5add_fb8176921778["dialog"]
  1660eb52_851f_959a_424b_885b77543f57 --> 0896a8fa_5462_a73a_5add_fb8176921778
  347cfa6b_4d3b_aeb9_f88c_873646e39bf0["empty"]
  1660eb52_851f_959a_424b_885b77543f57 --> 347cfa6b_4d3b_aeb9_f88c_873646e39bf0
  41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b["input-group"]
  1660eb52_851f_959a_424b_885b77543f57 --> 41df1c2c_a3b4_dc22_8bc9_310fe8b6ba9b
  eef72ee8_5107_2380_708f_cd0adbb65f49["kbd"]
  1660eb52_851f_959a_424b_885b77543f57 --> eef72ee8_5107_2380_708f_cd0adbb65f49
  64a3481c_a85b_fe79_409a_cb7f3f4bb871["popover"]
  1660eb52_851f_959a_424b_885b77543f57 --> 64a3481c_a85b_fe79_409a_cb7f3f4bb871
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> 1660eb52_851f_959a_424b_885b77543f57
  style 1660eb52_851f_959a_424b_885b77543f57 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { IconArrowUpRight, IconFolderCode } from "@tabler/icons-react"
import { PlusIcon, SearchIcon } from "lucide-react"

import { Button } from "@/registry/new-york-v4/ui/button"
import { Card, CardContent } from "@/registry/new-york-v4/ui/card"
import {
  Dialog,
  DialogContent,
  DialogDescription,
  DialogHeader,
  DialogTitle,
  DialogTrigger,
} from "@/registry/new-york-v4/ui/dialog"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/registry/new-york-v4/ui/empty"
import {
  InputGroup,
  InputGroupAddon,
  InputGroupInput,
} from "@/registry/new-york-v4/ui/input-group"
import { Kbd } from "@/registry/new-york-v4/ui/kbd"
import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/registry/new-york-v4/ui/popover"

export function EmptyDemo() {
  return (
    <div className="grid w-full gap-8">
      <Empty className="min-h-[80svh]">
        <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>
          <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 <IconArrowUpRight />
            </a>
          </Button>
        </EmptyContent>
// ... (191 more lines)

Subdomains

Functions

Dependencies

  • button
  • card
  • dialog
  • empty
  • icons-react
  • input-group
  • kbd
  • lucide-react
  • popover

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, SearchAPI 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 9 module(s): button, card, dialog, empty, icons-react, input-group, kbd, lucide-react, and 1 more.
What files import empty-demo.tsx?
empty-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is empty-demo.tsx in the architecture?
empty-demo.tsx is located at apps/v4/app/(internal)/sink/components/empty-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free