Home / Function/ BadgeWithIconRight() — ui Function Reference

BadgeWithIconRight() — ui Function Reference

Architecture documentation for the BadgeWithIconRight() function in badge-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  91852893_2cf9_28bc_24c1_fe0f4c8505bd["BadgeWithIconRight()"]
  199245b1_56c0_3db4_6800_97ffcd015f1f["badge-example.tsx"]
  91852893_2cf9_28bc_24c1_fe0f4c8505bd -->|defined in| 199245b1_56c0_3db4_6800_97ffcd015f1f
  style 91852893_2cf9_28bc_24c1_fe0f4c8505bd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/badge-example.tsx lines 113–186

function BadgeWithIconRight() {
  return (
    <Example title="Icon Right" className="max-w-fit">
      <div className="flex flex-wrap gap-2">
        <Badge>
          Default
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
        <Badge variant="secondary">
          Secondary
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
        <Badge variant="destructive">
          Destructive
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
        <Badge variant="outline">
          Outline
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
        <Badge variant="ghost">
          Ghost
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
        <Badge variant="link">
          Link
          <IconPlaceholder
            lucide="ArrowRightIcon"
            tabler="IconArrowRight"
            hugeicons="ArrowRight02Icon"
            phosphor="ArrowRightIcon"
            remixicon="RiArrowRightLine"
            data-icon="inline-end"
          />
        </Badge>
      </div>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does BadgeWithIconRight() do?
BadgeWithIconRight() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/badge-example.tsx.
Where is BadgeWithIconRight() defined?
BadgeWithIconRight() is defined in apps/v4/registry/bases/radix/examples/badge-example.tsx at line 113.

Analyze Your Own Codebase

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

Try Supermodel Free