Home / File/ badge-link.tsx — ui Source File

badge-link.tsx — ui Source File

Architecture documentation for badge-link.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
  411a7cbf_26b3_397d_7158_875c7643b145["badge-link.tsx"]
  9b75df2e_777a_32c5_f7c8_57d1bba676c7["badge"]
  411a7cbf_26b3_397d_7158_875c7643b145 --> 9b75df2e_777a_32c5_f7c8_57d1bba676c7
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  411a7cbf_26b3_397d_7158_875c7643b145 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 411a7cbf_26b3_397d_7158_875c7643b145 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/examples/base/ui/badge"
import { ArrowUpRightIcon } from "lucide-react"

export function BadgeAsLink() {
  return (
    <Badge render={<a href="#link" />}>
      Open Link <ArrowUpRightIcon data-icon="inline-end" />
    </Badge>
  )
}

Subdomains

Functions

Dependencies

  • badge
  • lucide-react

Frequently Asked Questions

What does badge-link.tsx do?
badge-link.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 badge-link.tsx?
badge-link.tsx defines 1 function(s): BadgeAsLink.
What does badge-link.tsx depend on?
badge-link.tsx imports 2 module(s): badge, lucide-react.
Where is badge-link.tsx in the architecture?
badge-link.tsx is located at apps/v4/examples/base/badge-link.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, 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