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

alert-destructive.tsx — ui Source File

Architecture documentation for alert-destructive.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
  a0f5469e_4115_c151_b7fc_099d78efaa97["alert-destructive.tsx"]
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  a0f5469e_4115_c151_b7fc_099d78efaa97 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  1b71bbd3_e795_7b1b_99f5_fb5978fd71cc["alert"]
  a0f5469e_4115_c151_b7fc_099d78efaa97 --> 1b71bbd3_e795_7b1b_99f5_fb5978fd71cc
  style a0f5469e_4115_c151_b7fc_099d78efaa97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { AlertCircle } from "lucide-react"

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

export default function AlertDestructive() {
  return (
    <Alert variant="destructive">
      <AlertCircle className="h-4 w-4" />
      <AlertTitle>Error</AlertTitle>
      <AlertDescription>
        Your session has expired. Please log in again.
      </AlertDescription>
    </Alert>
  )
}

Subdomains

Functions

Dependencies

  • alert
  • lucide-react

Frequently Asked Questions

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