Home / Function/ AlertExample3() — ui Function Reference

AlertExample3() — ui Function Reference

Architecture documentation for the AlertExample3() function in alert-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  76e0399d_f6d2_f395_66e0_03465946ed6f["AlertExample3()"]
  b9bc1d07_0b4f_0761_d52a_f1369692acd3["alert-example.tsx"]
  76e0399d_f6d2_f395_66e0_03465946ed6f -->|defined in| b9bc1d07_0b4f_0761_d52a_f1369692acd3
  style 76e0399d_f6d2_f395_66e0_03465946ed6f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/alert-example.tsx lines 147–188

function AlertExample3() {
  return (
    <Example title="Destructive">
      <div className="mx-auto flex w-full max-w-lg flex-col gap-4">
        <Alert variant="destructive">
          <IconPlaceholder
            lucide="CircleAlertIcon"
            tabler="IconExclamationCircle"
            hugeicons="AlertCircleIcon"
            phosphor="WarningCircleIcon"
            remixicon="RiErrorWarningLine"
          />
          <AlertTitle>Something went wrong!</AlertTitle>
          <AlertDescription>
            Your session has expired. Please log in again.
          </AlertDescription>
        </Alert>
        <Alert variant="destructive">
          <IconPlaceholder
            lucide="CircleAlertIcon"
            tabler="IconExclamationCircle"
            hugeicons="AlertCircleIcon"
            phosphor="WarningCircleIcon"
            remixicon="RiErrorWarningLine"
          />
          <AlertTitle>Unable to process your payment.</AlertTitle>
          <AlertDescription>
            <p>
              Please verify your <a href="#">billing information</a> and try
              again.
            </p>
            <ul className="list-inside list-disc">
              <li>Check your card details</li>
              <li>Ensure sufficient funds</li>
              <li>Verify billing address</li>
            </ul>
          </AlertDescription>
        </Alert>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does AlertExample3() do?
AlertExample3() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/alert-example.tsx.
Where is AlertExample3() defined?
AlertExample3() is defined in apps/v4/registry/bases/radix/examples/alert-example.tsx at line 147.

Analyze Your Own Codebase

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

Try Supermodel Free