Home / Function/ EmptyDemo() — ui Function Reference

EmptyDemo() — ui Function Reference

Architecture documentation for the EmptyDemo() function in empty-demo.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  1db91a2e_1db0_bbbb_37d0_007e713d1354["EmptyDemo()"]
  db68a269_83cf_cf56_dac5_97b820a66179["empty-demo.tsx"]
  1db91a2e_1db0_bbbb_37d0_007e713d1354 -->|defined in| db68a269_83cf_cf56_dac5_97b820a66179
  style 1db91a2e_1db0_bbbb_37d0_007e713d1354 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/empty-demo.tsx lines 14–45

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>
        <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>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyDemo() do?
EmptyDemo() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/empty-demo.tsx.
Where is EmptyDemo() defined?
EmptyDemo() is defined in apps/v4/registry/new-york-v4/examples/empty-demo.tsx at line 14.

Analyze Your Own Codebase

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

Try Supermodel Free