alert-action.tsx — ui Source File
Architecture documentation for alert-action.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 3f6949a4_de34_efd9_44f1_641b8b1ff686["alert-action.tsx"] a0bb0c78_b08b_4b56_3f1a_1be780fd19c5["alert"] 3f6949a4_de34_efd9_44f1_641b8b1ff686 --> a0bb0c78_b08b_4b56_3f1a_1be780fd19c5 4544fa74_9b37_0912_c55e_f4ff161b8e83["button"] 3f6949a4_de34_efd9_44f1_641b8b1ff686 --> 4544fa74_9b37_0912_c55e_f4ff161b8e83 style 3f6949a4_de34_efd9_44f1_641b8b1ff686 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
Alert,
AlertAction,
AlertDescription,
AlertTitle,
} from "@/examples/base/ui/alert"
import { Button } from "@/examples/base/ui/button"
export default function AlertActionExample() {
return (
<Alert className="max-w-md">
<AlertTitle>Dark mode is now available</AlertTitle>
<AlertDescription>
Enable it under your profile settings to get started.
</AlertDescription>
<AlertAction>
<Button size="xs" variant="default">
Enable
</Button>
</AlertAction>
</Alert>
)
}
Domain
Subdomains
Functions
Dependencies
- alert
- button
Source
Frequently Asked Questions
What does alert-action.tsx do?
alert-action.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-action.tsx?
alert-action.tsx defines 1 function(s): AlertActionExample.
What does alert-action.tsx depend on?
alert-action.tsx imports 2 module(s): alert, button.
Where is alert-action.tsx in the architecture?
alert-action.tsx is located at apps/v4/examples/base/alert-action.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free