alert-demo.tsx — ui Source File
Architecture documentation for alert-demo.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR a50b2a96_23f0_ed4b_34e0_3accd2f2ea59["alert-demo.tsx"] 0e8f4ea4_6cec_a81c_e0f9_c39d496143e0["alert"] a50b2a96_23f0_ed4b_34e0_3accd2f2ea59 --> 0e8f4ea4_6cec_a81c_e0f9_c39d496143e0 d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"] a50b2a96_23f0_ed4b_34e0_3accd2f2ea59 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3 style a50b2a96_23f0_ed4b_34e0_3accd2f2ea59 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Alert, AlertDescription, AlertTitle } from "@/examples/radix/ui/alert"
import { CheckCircle2Icon, InfoIcon } from "lucide-react"
export default function AlertDemo() {
return (
<div className="grid w-full max-w-md items-start gap-4">
<Alert>
<CheckCircle2Icon />
<AlertTitle>Payment successful</AlertTitle>
<AlertDescription>
Your payment of $29.99 has been processed. A receipt has been sent to
your email address.
</AlertDescription>
</Alert>
<Alert>
<InfoIcon />
<AlertTitle>New feature available</AlertTitle>
<AlertDescription>
We've added dark mode support. You can enable it in your account
settings.
</AlertDescription>
</Alert>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- alert
- lucide-react
Source
Frequently Asked Questions
What does alert-demo.tsx do?
alert-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in alert-demo.tsx?
alert-demo.tsx defines 1 function(s): AlertDemo.
What does alert-demo.tsx depend on?
alert-demo.tsx imports 2 module(s): alert, lucide-react.
Where is alert-demo.tsx in the architecture?
alert-demo.tsx is located at apps/v4/examples/radix/alert-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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