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
  47780f1a_ccd3_3303_6577_4a9199e9c4ba["AlertDestructive()"]
  a0f5469e_4115_c151_b7fc_099d78efaa97["alert-destructive.tsx"]
  47780f1a_ccd3_3303_6577_4a9199e9c4ba -->|defined in| a0f5469e_4115_c151_b7fc_099d78efaa97
  style 47780f1a_ccd3_3303_6577_4a9199e9c4ba fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/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/new-york/examples/alert-destructive.tsx.
Where is AlertDestructive() defined?
AlertDestructive() is defined in deprecated/www/registry/new-york/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