SpinnerInEmpty() — ui Function Reference
Architecture documentation for the SpinnerInEmpty() function in spinner-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 16266155_07d7_987b_c490_1eb303f7e711["SpinnerInEmpty()"] eae53476_2d94_2974_dcd8_00da635fdefc["spinner-example.tsx"] 16266155_07d7_987b_c490_1eb303f7e711 -->|defined in| eae53476_2d94_2974_dcd8_00da635fdefc style 16266155_07d7_987b_c490_1eb303f7e711 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/spinner-example.tsx lines 110–150
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'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="#" />}
nativeButton={false}
className="text-muted-foreground"
>
Learn more{" "}
<IconPlaceholder
lucide="ArrowRightIcon"
tabler="IconArrowRight"
hugeicons="ArrowRight02Icon"
phosphor="ArrowRightIcon"
remixicon="RiArrowRightLine"
/>
</Button>
</EmptyContent>
</Empty>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does SpinnerInEmpty() do?
SpinnerInEmpty() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/spinner-example.tsx.
Where is SpinnerInEmpty() defined?
SpinnerInEmpty() is defined in apps/v4/registry/bases/base/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