Home / File/ alert-demo.tsx — ui Source File

alert-demo.tsx — ui Source File

Architecture documentation for alert-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  94ad8be5_690b_c548_ac41_250c7d0116b1["alert-demo.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  94ad8be5_690b_c548_ac41_250c7d0116b1 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  1b71bbd3_e795_7b1b_99f5_fb5978fd71cc["alert"]
  94ad8be5_690b_c548_ac41_250c7d0116b1 --> 1b71bbd3_e795_7b1b_99f5_fb5978fd71cc
  style 94ad8be5_690b_c548_ac41_250c7d0116b1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Terminal } from "lucide-react"

import {
  Alert,
  AlertDescription,
  AlertTitle,
} from "@/registry/new-york/ui/alert"

export default function AlertDemo() {
  return (
    <Alert>
      <Terminal className="h-4 w-4" />
      <AlertTitle>Heads up!</AlertTitle>
      <AlertDescription>
        You can add components to your app using the cli.
      </AlertDescription>
    </Alert>
  )
}

Subdomains

Functions

Dependencies

  • alert
  • lucide-react

Frequently Asked Questions

What does alert-demo.tsx do?
alert-demo.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 alert-demo.tsx?
alert-demo.tsx defines 1 function(s): AlertDemo.
What does alert-demo.tsx depend on?
alert-demo.tsx imports 2 module(s): alert, lucide-react.
Where is alert-demo.tsx in the architecture?
alert-demo.tsx is located at deprecated/www/registry/new-york/examples/alert-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).

Analyze Your Own Codebase

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

Try Supermodel Free