BadgeCustomColors() — ui Function Reference
Architecture documentation for the BadgeCustomColors() function in badge-colors.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 874465ff_f21b_0ed5_131c_2a2e28862fd2["BadgeCustomColors()"] cae3c556_cf76_2bc0_8e11_f31877d22dd6["badge-colors.tsx"] 874465ff_f21b_0ed5_131c_2a2e28862fd2 -->|defined in| cae3c556_cf76_2bc0_8e11_f31877d22dd6 style 874465ff_f21b_0ed5_131c_2a2e28862fd2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/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>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does BadgeCustomColors() do?
BadgeCustomColors() is a function in the ui codebase, defined in apps/v4/examples/base/badge-colors.tsx.
Where is BadgeCustomColors() defined?
BadgeCustomColors() is defined in apps/v4/examples/base/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