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

alert-colors.tsx — ui Source File

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

File tsx DocumentationAtlas ContentSourcing 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f754a0f0_40d8_8029_2a4a_e562d433856a["alert-colors.tsx"]
  a0bb0c78_b08b_4b56_3f1a_1be780fd19c5["alert"]
  f754a0f0_40d8_8029_2a4a_e562d433856a --> a0bb0c78_b08b_4b56_3f1a_1be780fd19c5
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  f754a0f0_40d8_8029_2a4a_e562d433856a --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style f754a0f0_40d8_8029_2a4a_e562d433856a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Alert, AlertDescription, AlertTitle } from "@/examples/base/ui/alert"
import { AlertTriangleIcon } from "lucide-react"

export default function AlertColors() {
  return (
    <Alert className="max-w-md border-amber-200 bg-amber-50 text-amber-900 dark:border-amber-900 dark:bg-amber-950 dark:text-amber-50">
      <AlertTriangleIcon />
      <AlertTitle>Your subscription will expire in 3 days.</AlertTitle>
      <AlertDescription>
        Renew now to avoid service interruption or upgrade to a paid plan to
        continue using the service.
      </AlertDescription>
    </Alert>
  )
}

Subdomains

Functions

Dependencies

  • alert
  • lucide-react

Frequently Asked Questions

What does alert-colors.tsx do?
alert-colors.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, ContentSourcing subdomain.
What functions are defined in alert-colors.tsx?
alert-colors.tsx defines 1 function(s): AlertColors.
What does alert-colors.tsx depend on?
alert-colors.tsx imports 2 module(s): alert, lucide-react.
Where is alert-colors.tsx in the architecture?
alert-colors.tsx is located at apps/v4/examples/base/alert-colors.tsx (domain: DocumentationAtlas, subdomain: ContentSourcing, 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