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
  1428cc94_c00e_e29a_d16b_d3a4d77d16af["alert-demo.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  1428cc94_c00e_e29a_d16b_d3a4d77d16af --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  faf39c5e_eece_add9_0b1d_4694b33605dd["alert"]
  1428cc94_c00e_e29a_d16b_d3a4d77d16af --> faf39c5e_eece_add9_0b1d_4694b33605dd
  style 1428cc94_c00e_e29a_d16b_d3a4d77d16af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Terminal } from "lucide-react"

import {
  Alert,
  AlertDescription,
  AlertTitle,
} from "@/registry/default/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/default/examples/alert-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/examples).

Analyze Your Own Codebase

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

Try Supermodel Free