empty-example.tsx — ui Source File
Architecture documentation for empty-example.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a["empty-example.tsx"] da02b53a_0c1d_d1a1_af31_74d99f1cdd7a["example"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> da02b53a_0c1d_d1a1_af31_74d99f1cdd7a 381135fe_5f7a_910a_b8a2_691e9756a016["button"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> 381135fe_5f7a_910a_b8a2_691e9756a016 60e5614f_5f22_4214_bc6f_532cdf848a85["empty"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> 60e5614f_5f22_4214_bc6f_532cdf848a85 0933745b_84d7_328d_17fd_7868edde7274["input-group"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> 0933745b_84d7_328d_17fd_7868edde7274 48f504bd_fed6_0886_c9a3_03bc04df8bab["kbd"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> 48f504bd_fed6_0886_c9a3_03bc04df8bab de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"] 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2 style 71239b7e_c31e_1af0_ec5e_b0c8d6fe370a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Example,
ExampleWrapper,
} from "@/registry/bases/radix/components/example"
import { Button } from "@/registry/bases/radix/ui/button"
import {
Empty,
EmptyContent,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/registry/bases/radix/ui/empty"
import {
InputGroup,
InputGroupAddon,
InputGroupInput,
} from "@/registry/bases/radix/ui/input-group"
import { Kbd } from "@/registry/bases/radix/ui/kbd"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"
export default function EmptyExample() {
return (
<ExampleWrapper>
<EmptyBasic />
<EmptyWithMutedBackground />
<EmptyWithBorder />
<EmptyWithIcon />
<EmptyWithMutedBackgroundAlt />
<EmptyInCard />
</ExampleWrapper>
)
}
function EmptyBasic() {
return (
<Example title="Basic">
<Empty>
<EmptyHeader>
<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 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"
// ... (195 more lines)
Domain
Subdomains
Functions
Dependencies
- button
- empty
- example
- icon-placeholder
- input-group
- kbd
Source
Frequently Asked Questions
What does empty-example.tsx do?
empty-example.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in empty-example.tsx?
empty-example.tsx defines 7 function(s): EmptyBasic, EmptyExample, EmptyInCard, EmptyWithBorder, EmptyWithIcon, EmptyWithMutedBackground, EmptyWithMutedBackgroundAlt.
What does empty-example.tsx depend on?
empty-example.tsx imports 6 module(s): button, empty, example, icon-placeholder, input-group, kbd.
Where is empty-example.tsx in the architecture?
empty-example.tsx is located at apps/v4/registry/bases/radix/examples/empty-example.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/bases/radix/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free