Home / Function/ EmptyBasic() — ui Function Reference

EmptyBasic() — ui Function Reference

Architecture documentation for the EmptyBasic() function in empty-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f701e500_d20d_b6a7_4ef8_2198918111a6["EmptyBasic()"]
  cd9b19bf_ceb7_05d0_c420_23f4b40e8464["empty-example.tsx"]
  f701e500_d20d_b6a7_4ef8_2198918111a6 -->|defined in| cd9b19bf_ceb7_05d0_c420_23f4b40e8464
  style f701e500_d20d_b6a7_4ef8_2198918111a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/empty-example.tsx lines 35–72

function EmptyBasic() {
  return (
    <Example title="Basic">
      <Empty>
        <EmptyHeader>
          <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 render={<a href="#" />} nativeButton={false}>
              Create project
            </Button>
            <Button variant="outline">Import project</Button>
          </div>
          <Button
            variant="link"
            render={<a href="#" />}
            className="text-muted-foreground"
            nativeButton={false}
          >
            Learn more{" "}
            <IconPlaceholder
              lucide="ArrowUpRightIcon"
              tabler="IconArrowUpRight"
              hugeicons="ArrowUpRight01Icon"
              phosphor="ArrowUpRightIcon"
              remixicon="RiArrowRightUpLine"
            />
          </Button>
        </EmptyContent>
      </Empty>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyBasic() do?
EmptyBasic() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/empty-example.tsx.
Where is EmptyBasic() defined?
EmptyBasic() is defined in apps/v4/registry/bases/base/examples/empty-example.tsx at line 35.

Analyze Your Own Codebase

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

Try Supermodel Free