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
  e6f9ae65_b8a7_ae5f_120e_75f30c9d87b5["EmptyDemo()"]
  c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef["empty-demo.tsx"]
  e6f9ae65_b8a7_ae5f_120e_75f30c9d87b5 -->|defined in| c17f7fc1_1aa9_e6a8_6d6f_80d0e344cbef
  style e6f9ae65_b8a7_ae5f_120e_75f30c9d87b5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/empty-demo.tsx lines 13–42

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

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free