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 DocumentationAtlas Changelog 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  de68d58d_2788_3120_7f51_f7d8ca7d1cca["alert-destructive.tsx"]
  0e8f4ea4_6cec_a81c_e0f9_c39d496143e0["alert"]
  de68d58d_2788_3120_7f51_f7d8ca7d1cca --> 0e8f4ea4_6cec_a81c_e0f9_c39d496143e0
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  de68d58d_2788_3120_7f51_f7d8ca7d1cca --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style de68d58d_2788_3120_7f51_f7d8ca7d1cca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Alert, AlertDescription, AlertTitle } from "@/examples/radix/ui/alert"
import { AlertCircleIcon } from "lucide-react"

export default function AlertDestructive() {
  return (
    <Alert variant="destructive" className="max-w-md">
      <AlertCircleIcon />
      <AlertTitle>Payment failed</AlertTitle>
      <AlertDescription>
        Your payment could not be processed. Please check your payment method
        and try 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 DocumentationAtlas domain, Changelog 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 apps/v4/examples/radix/alert-destructive.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free