Home / Function/ AlertExample1() — ui Function Reference

AlertExample1() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/alert-example.tsx lines 26–47

function AlertExample1() {
  return (
    <Example title="Basic">
      <div className="mx-auto flex w-full max-w-lg flex-col gap-4">
        <Alert>
          <AlertTitle>Success! Your changes have been saved.</AlertTitle>
        </Alert>
        <Alert>
          <AlertTitle>Success! Your changes have been saved.</AlertTitle>
          <AlertDescription>
            This is an alert with title and description.
          </AlertDescription>
        </Alert>
        <Alert>
          <AlertDescription>
            This one has a description only. No title. No icon.
          </AlertDescription>
        </Alert>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free