Home / Function/ AlertDestructive() — ui Function Reference

AlertDestructive() — ui Function Reference

Architecture documentation for the AlertDestructive() function in alert-destructive.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  fdc23246_620f_dd21_9c2f_134f79dfaf97["AlertDestructive()"]
  72953f96_cb3d_c88d_a55f_bf4f3eea6752["alert-destructive.tsx"]
  fdc23246_620f_dd21_9c2f_134f79dfaf97 -->|defined in| 72953f96_cb3d_c88d_a55f_bf4f3eea6752
  style fdc23246_620f_dd21_9c2f_134f79dfaf97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/examples/alert-destructive.tsx lines 9–19

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

Frequently Asked Questions

What does AlertDestructive() do?
AlertDestructive() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/alert-destructive.tsx.
Where is AlertDestructive() defined?
AlertDestructive() is defined in deprecated/www/registry/default/examples/alert-destructive.tsx at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free