Home / File/ announcement.tsx — ui Source File

announcement.tsx — ui Source File

Architecture documentation for announcement.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx Internationalization RTLLayout 3 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  d0518571_961d_26eb_79bd_258579413410["announcement.tsx"]
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  d0518571_961d_26eb_79bd_258579413410 --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  d0518571_961d_26eb_79bd_258579413410 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  4c79c55d_d834_3cdd_ce17_cc4f4eb47d55["badge"]
  d0518571_961d_26eb_79bd_258579413410 --> 4c79c55d_d834_3cdd_ce17_cc4f4eb47d55
  style d0518571_961d_26eb_79bd_258579413410 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Link from "next/link"
import { ArrowRightIcon } from "lucide-react"

import { Badge } from "@/registry/new-york-v4/ui/badge"

function BaseUILogo() {
  return (
    <svg width="17" height="24" viewBox="0 0 17 24" className="size-3">
      <path
        fill="currentColor"
        d="M9.5001 7.01537C9.2245 6.99837 9 7.22385 9 7.49999V23C13.4183 23 17 19.4183 17 15C17 10.7497 13.6854 7.27351 9.5001 7.01537Z"
      />
      <path
        fill="currentColor"
        d="M8 9.8V12V23C3.58172 23 0 19.0601 0 14.2V12V1C4.41828 1 8 4.93989 8 9.8Z"
      />
    </svg>
  )
}

export function Announcement() {
  return (
    <Badge asChild variant="secondary" className="bg-muted">
      <Link href="/docs/changelog/2026-01-rtl">
        RTL Support <ArrowRightIcon />
      </Link>
    </Badge>
  )
}

Subdomains

Dependencies

  • badge
  • link
  • lucide-react

Frequently Asked Questions

What does announcement.tsx do?
announcement.tsx is a source file in the ui codebase, written in tsx. It belongs to the Internationalization domain, RTLLayout subdomain.
What functions are defined in announcement.tsx?
announcement.tsx defines 2 function(s): Announcement, BaseUILogo.
What does announcement.tsx depend on?
announcement.tsx imports 3 module(s): badge, link, lucide-react.
Where is announcement.tsx in the architecture?
announcement.tsx is located at apps/v4/components/announcement.tsx (domain: Internationalization, subdomain: RTLLayout, directory: apps/v4/components).

Analyze Your Own Codebase

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

Try Supermodel Free