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

badge-icon.tsx — ui Source File

Architecture documentation for badge-icon.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
  2cd7c714_80b7_81c7_27f3_636fbe6e768b["badge-icon.tsx"]
  0e5bfac8_76e1_675a_4d46_a5283014eb00["badge"]
  2cd7c714_80b7_81c7_27f3_636fbe6e768b --> 0e5bfac8_76e1_675a_4d46_a5283014eb00
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  2cd7c714_80b7_81c7_27f3_636fbe6e768b --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  style 2cd7c714_80b7_81c7_27f3_636fbe6e768b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Badge } from "@/examples/radix/ui/badge"
import { BadgeCheck, BookmarkIcon } from "lucide-react"

export function BadgeWithIconLeft() {
  return (
    <div className="flex flex-wrap gap-2">
      <Badge variant="secondary">
        <BadgeCheck data-icon="inline-start" />
        Verified
      </Badge>
      <Badge variant="outline">
        Bookmark
        <BookmarkIcon data-icon="inline-end" />
      </Badge>
    </div>
  )
}

Subdomains

Dependencies

  • badge
  • lucide-react

Frequently Asked Questions

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