Home / Function/ BadgeCustomColors() — ui Function Reference

BadgeCustomColors() — ui Function Reference

Architecture documentation for the BadgeCustomColors() function in badge-colors.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  59470341_6be7_e23f_c173_bf24999bf585["BadgeCustomColors()"]
  ef2a4932_c984_4922_6166_8d62ace3146d["badge-colors.tsx"]
  59470341_6be7_e23f_c173_bf24999bf585 -->|defined in| ef2a4932_c984_4922_6166_8d62ace3146d
  style 59470341_6be7_e23f_c173_bf24999bf585 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/badge-colors.tsx lines 3–23

export function BadgeCustomColors() {
  return (
    <div className="flex flex-wrap gap-2">
      <Badge className="bg-blue-50 text-blue-700 dark:bg-blue-950 dark:text-blue-300">
        Blue
      </Badge>
      <Badge className="bg-green-50 text-green-700 dark:bg-green-950 dark:text-green-300">
        Green
      </Badge>
      <Badge className="bg-sky-50 text-sky-700 dark:bg-sky-950 dark:text-sky-300">
        Sky
      </Badge>
      <Badge className="bg-purple-50 text-purple-700 dark:bg-purple-950 dark:text-purple-300">
        Purple
      </Badge>
      <Badge className="bg-red-50 text-red-700 dark:bg-red-950 dark:text-red-300">
        Red
      </Badge>
    </div>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free