Empty() — ui Function Reference
Architecture documentation for the Empty() function in empty.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD db238d16_61ef_62f4_1c56_ff7727301a93["Empty()"] bc4fec55_1c9d_289b_fec0_b6c1630faed8["empty.tsx"] db238d16_61ef_62f4_1c56_ff7727301a93 -->|defined in| bc4fec55_1c9d_289b_fec0_b6c1630faed8 style db238d16_61ef_62f4_1c56_ff7727301a93 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui/empty.tsx lines 4–15
function Empty({ className, ...props }: React.ComponentProps<"div">) {
return (
<div
data-slot="empty"
className={cn(
"flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does Empty() do?
Empty() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/empty.tsx.
Where is Empty() defined?
Empty() is defined in apps/v4/examples/radix/ui/empty.tsx at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free