empty-icon.tsx — ui Source File
Architecture documentation for empty-icon.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 768403c1_25af_a4a3_ce33_3c42c2e41088["empty-icon.tsx"] 39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"] 768403c1_25af_a4a3_ce33_3c42c2e41088 --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7 347cfa6b_4d3b_aeb9_f88c_873646e39bf0["empty"] 768403c1_25af_a4a3_ce33_3c42c2e41088 --> 347cfa6b_4d3b_aeb9_f88c_873646e39bf0 style 768403c1_25af_a4a3_ce33_3c42c2e41088 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
IconBookmark,
IconHeart,
IconInbox,
IconStar,
} from "@tabler/icons-react"
import {
Empty,
EmptyDescription,
EmptyHeader,
EmptyMedia,
EmptyTitle,
} from "@/registry/new-york-v4/ui/empty"
export default function EmptyIcon() {
return (
<div className="grid gap-8 md:grid-cols-2">
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconInbox />
</EmptyMedia>
<EmptyTitle>No messages</EmptyTitle>
<EmptyDescription>
Your inbox is empty. New messages will appear here.
</EmptyDescription>
</EmptyHeader>
</Empty>
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconStar />
</EmptyMedia>
<EmptyTitle>No favorites</EmptyTitle>
<EmptyDescription>
Items you mark as favorites will appear here.
</EmptyDescription>
</EmptyHeader>
</Empty>
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconHeart />
</EmptyMedia>
<EmptyTitle>No likes yet</EmptyTitle>
<EmptyDescription>
Content you like will be saved here for easy access.
</EmptyDescription>
</EmptyHeader>
</Empty>
<Empty>
<EmptyHeader>
<EmptyMedia variant="icon">
<IconBookmark />
</EmptyMedia>
<EmptyTitle>No bookmarks</EmptyTitle>
<EmptyDescription>
Save interesting content by bookmarking it.
</EmptyDescription>
</EmptyHeader>
</Empty>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- empty
- icons-react
Source
Frequently Asked Questions
What does empty-icon.tsx do?
empty-icon.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-icon.tsx?
empty-icon.tsx defines 1 function(s): EmptyIcon.
What does empty-icon.tsx depend on?
empty-icon.tsx imports 2 module(s): empty, icons-react.
Where is empty-icon.tsx in the architecture?
empty-icon.tsx is located at apps/v4/registry/new-york-v4/examples/empty-icon.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free