Home / File/ empty-background.tsx — ui Source File

empty-background.tsx — ui Source File

Architecture documentation for empty-background.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  ca5e2332_99b4_2117_652d_0df691b6b481["empty-background.tsx"]
  39a0d62e_8e7d_d097_eb95_91d2bca361f7["icons-react"]
  ca5e2332_99b4_2117_652d_0df691b6b481 --> 39a0d62e_8e7d_d097_eb95_91d2bca361f7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  ca5e2332_99b4_2117_652d_0df691b6b481 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  ca5e2332_99b4_2117_652d_0df691b6b481 --> 57e86e45_ac6e_7278_be08_9092724e8401
  347cfa6b_4d3b_aeb9_f88c_873646e39bf0["empty"]
  ca5e2332_99b4_2117_652d_0df691b6b481 --> 347cfa6b_4d3b_aeb9_f88c_873646e39bf0
  style ca5e2332_99b4_2117_652d_0df691b6b481 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { IconBell } from "@tabler/icons-react"
import { RefreshCcwIcon } from "lucide-react"

import { Button } from "@/registry/new-york-v4/ui/button"
import {
  Empty,
  EmptyContent,
  EmptyDescription,
  EmptyHeader,
  EmptyMedia,
  EmptyTitle,
} from "@/registry/new-york-v4/ui/empty"

export default function EmptyMuted() {
  return (
    <Empty className="from-muted/50 to-background h-full bg-gradient-to-b from-30%">
      <EmptyHeader>
        <EmptyMedia variant="icon">
          <IconBell />
        </EmptyMedia>
        <EmptyTitle>No Notifications</EmptyTitle>
        <EmptyDescription>
          You&apos;re all caught up. New notifications will appear here.
        </EmptyDescription>
      </EmptyHeader>
      <EmptyContent>
        <Button variant="outline" size="sm">
          <RefreshCcwIcon />
          Refresh
        </Button>
      </EmptyContent>
    </Empty>
  )
}

Subdomains

Functions

Dependencies

  • button
  • empty
  • icons-react
  • lucide-react

Frequently Asked Questions

What does empty-background.tsx do?
empty-background.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-background.tsx?
empty-background.tsx defines 1 function(s): EmptyMuted.
What does empty-background.tsx depend on?
empty-background.tsx imports 4 module(s): button, empty, icons-react, lucide-react.
Where is empty-background.tsx in the architecture?
empty-background.tsx is located at apps/v4/registry/new-york-v4/examples/empty-background.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