Home / Function/ SpinnerInEmpty() — ui Function Reference

SpinnerInEmpty() — ui Function Reference

Architecture documentation for the SpinnerInEmpty() function in spinner-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  5b9ccc7c_dd72_b738_bb33_d726e2a88562["SpinnerInEmpty()"]
  4ac68bc1_b25c_7adb_9fd5_bca11a39fe5b["spinner-example.tsx"]
  5b9ccc7c_dd72_b738_bb33_d726e2a88562 -->|defined in| 4ac68bc1_b25c_7adb_9fd5_bca11a39fe5b
  style 5b9ccc7c_dd72_b738_bb33_d726e2a88562 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/spinner-example.tsx lines 110–147

function SpinnerInEmpty() {
  return (
    <Example title="In Empty State" containerClassName="lg:col-span-full">
      <Empty className="min-h-[300px]">
        <EmptyHeader>
          <EmptyMedia variant="icon">
            <Spinner />
          </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{" "}
              <IconPlaceholder
                lucide="ArrowRightIcon"
                tabler="IconArrowRight"
                hugeicons="ArrowRight02Icon"
                phosphor="ArrowRightIcon"
                remixicon="RiArrowRightLine"
              />
            </a>
          </Button>
        </EmptyContent>
      </Empty>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does SpinnerInEmpty() do?
SpinnerInEmpty() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/spinner-example.tsx.
Where is SpinnerInEmpty() defined?
SpinnerInEmpty() is defined in apps/v4/registry/bases/radix/examples/spinner-example.tsx at line 110.

Analyze Your Own Codebase

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

Try Supermodel Free