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
  c41ae9bf_76ea_6fdd_29e4_2616c3d71a08["BadgeWithIconRight()"]
  fc1ee748_75b6_9e50_9292_c5d6362e98a5["badge-example.tsx"]
  c41ae9bf_76ea_6fdd_29e4_2616c3d71a08 -->|defined in| fc1ee748_75b6_9e50_9292_c5d6362e98a5
  style c41ae9bf_76ea_6fdd_29e4_2616c3d71a08 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/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/base/examples/badge-example.tsx.
Where is BadgeWithIconRight() defined?
BadgeWithIconRight() is defined in apps/v4/registry/bases/base/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