AlertExample4() — ui Function Reference
Architecture documentation for the AlertExample4() function in alert-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5009e8e6_9760_092e_a0b7_ab3630dacaac["AlertExample4()"] b9bc1d07_0b4f_0761_d52a_f1369692acd3["alert-example.tsx"] 5009e8e6_9760_092e_a0b7_ab3630dacaac -->|defined in| b9bc1d07_0b4f_0761_d52a_f1369692acd3 style 5009e8e6_9760_092e_a0b7_ab3630dacaac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/alert-example.tsx lines 190–227
function AlertExample4() {
return (
<Example title="With Actions">
<div className="mx-auto flex w-full max-w-lg flex-col gap-4">
<Alert>
<IconPlaceholder
lucide="CircleAlertIcon"
tabler="IconExclamationCircle"
hugeicons="AlertCircleIcon"
phosphor="WarningCircleIcon"
remixicon="RiErrorWarningLine"
/>
<AlertTitle>The selected emails have been marked as spam.</AlertTitle>
<AlertAction>
<Button size="xs">Undo</Button>
</AlertAction>
</Alert>
<Alert>
<IconPlaceholder
lucide="CircleAlertIcon"
tabler="IconExclamationCircle"
hugeicons="AlertCircleIcon"
phosphor="WarningCircleIcon"
remixicon="RiErrorWarningLine"
/>
<AlertTitle>The selected emails have been marked as spam.</AlertTitle>
<AlertDescription>
This is a very long alert title that demonstrates how the component
handles extended text content.
</AlertDescription>
<AlertAction>
<Badge variant="secondary">Badge</Badge>
</AlertAction>
</Alert>
</div>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does AlertExample4() do?
AlertExample4() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-example.tsx.
Where is AlertExample4() defined?
AlertExample4() is defined in apps/v4/registry/bases/radix/examples/alert-example.tsx at line 190.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free