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
  e07a1a4a_cf71_aaf5_0057_7852ed9e3bd1["alert-demo.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  e07a1a4a_cf71_aaf5_0057_7852ed9e3bd1 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  faf39c5e_eece_add9_0b1d_4694b33605dd["alert"]
  e07a1a4a_cf71_aaf5_0057_7852ed9e3bd1 --> faf39c5e_eece_add9_0b1d_4694b33605dd
  style e07a1a4a_cf71_aaf5_0057_7852ed9e3bd1 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 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/internal/sink/components/alert-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free