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
  0363bca8_14a5_f325_7cf4_46218b67e07b["EmptyBasic()"]
  71239b7e_c31e_1af0_ec5e_b0c8d6fe370a["empty-example.tsx"]
  0363bca8_14a5_f325_7cf4_46218b67e07b -->|defined in| 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a
  style 0363bca8_14a5_f325_7cf4_46218b67e07b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/empty-example.tsx lines 35–69

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 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{" "}
              <IconPlaceholder
                lucide="ArrowUpRightIcon"
                tabler="IconArrowUpRight"
                hugeicons="ArrowUpRight01Icon"
                phosphor="ArrowUpRightIcon"
                remixicon="RiArrowRightUpLine"
              />
            </a>
          </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/radix/examples/empty-example.tsx.
Where is EmptyBasic() defined?
EmptyBasic() is defined in apps/v4/registry/bases/radix/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