badge-colors.tsx — ui Source File
Architecture documentation for badge-colors.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR cae3c556_cf76_2bc0_8e11_f31877d22dd6["badge-colors.tsx"] 9b75df2e_777a_32c5_f7c8_57d1bba676c7["badge"] cae3c556_cf76_2bc0_8e11_f31877d22dd6 --> 9b75df2e_777a_32c5_f7c8_57d1bba676c7 style cae3c556_cf76_2bc0_8e11_f31877d22dd6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Badge } from "@/examples/base/ui/badge"
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
Functions
Dependencies
- badge
Source
Frequently Asked Questions
What does badge-colors.tsx do?
badge-colors.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in badge-colors.tsx?
badge-colors.tsx defines 1 function(s): BadgeCustomColors.
What does badge-colors.tsx depend on?
badge-colors.tsx imports 1 module(s): badge.
Where is badge-colors.tsx in the architecture?
badge-colors.tsx is located at apps/v4/examples/base/badge-colors.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/base).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free