Home / Function/ BadgeWithIconLeft() — ui Function Reference

BadgeWithIconLeft() — ui Function Reference

Architecture documentation for the BadgeWithIconLeft() function in badge-icon.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  b5cd241b_8f8e_ea99_0592_0ff6e7fb5754["BadgeWithIconLeft()"]
  2cd7c714_80b7_81c7_27f3_636fbe6e768b["badge-icon.tsx"]
  b5cd241b_8f8e_ea99_0592_0ff6e7fb5754 -->|defined in| 2cd7c714_80b7_81c7_27f3_636fbe6e768b
  style b5cd241b_8f8e_ea99_0592_0ff6e7fb5754 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/badge-icon.tsx lines 4–17

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

Frequently Asked Questions

What does BadgeWithIconLeft() do?
BadgeWithIconLeft() is a function in the ui codebase, defined in apps/v4/examples/radix/badge-icon.tsx.
Where is BadgeWithIconLeft() defined?
BadgeWithIconLeft() is defined in apps/v4/examples/radix/badge-icon.tsx at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free