Empty() — ui Function Reference
Architecture documentation for the Empty() function in empty.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 61651d8f_de50_027f_366d_590c3bf5657f["Empty()"] f2c0b098_fb28_b571_cab7_fd4018379e7f["empty.tsx"] 61651d8f_de50_027f_366d_590c3bf5657f -->|defined in| f2c0b098_fb28_b571_cab7_fd4018379e7f style 61651d8f_de50_027f_366d_590c3bf5657f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/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-rtl/empty.tsx.
Where is Empty() defined?
Empty() is defined in apps/v4/examples/radix/ui-rtl/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