Home / Function/ EmptyIcon() — ui Function Reference

EmptyIcon() — ui Function Reference

Architecture documentation for the EmptyIcon() function in empty-icon.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  0f8478cc_665a_8eb5_95e7_847b5df0f8a7["EmptyIcon()"]
  768403c1_25af_a4a3_ce33_3c42c2e41088["empty-icon.tsx"]
  0f8478cc_665a_8eb5_95e7_847b5df0f8a7 -->|defined in| 768403c1_25af_a4a3_ce33_3c42c2e41088
  style 0f8478cc_665a_8eb5_95e7_847b5df0f8a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/empty-icon.tsx lines 16–68

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>
  )
}

Subdomains

Frequently Asked Questions

What does EmptyIcon() do?
EmptyIcon() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/empty-icon.tsx.
Where is EmptyIcon() defined?
EmptyIcon() is defined in apps/v4/registry/new-york-v4/examples/empty-icon.tsx at line 16.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free