Home / File/ alert-action.tsx — ui Source File

alert-action.tsx — ui Source File

Architecture documentation for alert-action.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  9d99c8f3_6000_1e66_f41a_1f293b1a18b3["alert-action.tsx"]
  0e8f4ea4_6cec_a81c_e0f9_c39d496143e0["alert"]
  9d99c8f3_6000_1e66_f41a_1f293b1a18b3 --> 0e8f4ea4_6cec_a81c_e0f9_c39d496143e0
  4b1d2128_46d9_46f0_b915_b6e1925b7876["button"]
  9d99c8f3_6000_1e66_f41a_1f293b1a18b3 --> 4b1d2128_46d9_46f0_b915_b6e1925b7876
  style 9d99c8f3_6000_1e66_f41a_1f293b1a18b3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import {
  Alert,
  AlertAction,
  AlertDescription,
  AlertTitle,
} from "@/examples/radix/ui/alert"
import { Button } from "@/examples/radix/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>
  )
}

Subdomains

Dependencies

  • alert
  • button

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/radix/alert-action.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