alert-destructive.tsx — ui Source File
Architecture documentation for alert-destructive.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 72953f96_cb3d_c88d_a55f_bf4f3eea6752["alert-destructive.tsx"] d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] 72953f96_cb3d_c88d_a55f_bf4f3eea6752 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 faf39c5e_eece_add9_0b1d_4694b33605dd["alert"] 72953f96_cb3d_c88d_a55f_bf4f3eea6752 --> faf39c5e_eece_add9_0b1d_4694b33605dd style 72953f96_cb3d_c88d_a55f_bf4f3eea6752 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { AlertCircle } from "lucide-react"
import {
Alert,
AlertDescription,
AlertTitle,
} from "@/registry/default/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>
)
}
Domain
Subdomains
Functions
Dependencies
- alert
- lucide-react
Source
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/default/examples/alert-destructive.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