EmptyDemo() — ui Function Reference
Architecture documentation for the EmptyDemo() function in empty-demo.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD e32c734f_d65d_b3b2_d4e6_ea693e4b42d5["EmptyDemo()"] 37918ea4_962f_bee3_f3a5_dcc4842a456e["empty-demo.tsx"] e32c734f_d65d_b3b2_d4e6_ea693e4b42d5 -->|defined in| 37918ea4_962f_bee3_f3a5_dcc4842a456e style e32c734f_d65d_b3b2_d4e6_ea693e4b42d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/empty-demo.tsx lines 13–41
export default function EmptyDemo() {
return (
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconFolderCode />
</EmptyMedia>
<EmptyTitle>No Projects Yet</EmptyTitle>
<EmptyDescription>
You haven'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"
render={<a href="#" />}
className="text-muted-foreground"
size="sm"
nativeButton={false}
>
Learn More <ArrowUpRightIcon />
</Button>
</Empty>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does EmptyDemo() do?
EmptyDemo() is a function in the ui codebase, defined in apps/v4/examples/base/empty-demo.tsx.
Where is EmptyDemo() defined?
EmptyDemo() is defined in apps/v4/examples/base/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