BadgeVariants() — ui Function Reference
Architecture documentation for the BadgeVariants() function in badge-variants.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 97157c7e_7902_2279_9435_7653259ad92e["BadgeVariants()"] eea390ad_f336_953a_7b8c_2723f2c645ae["badge-variants.tsx"] 97157c7e_7902_2279_9435_7653259ad92e -->|defined in| eea390ad_f336_953a_7b8c_2723f2c645ae style 97157c7e_7902_2279_9435_7653259ad92e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/badge-variants.tsx lines 3–13
export function BadgeVariants() {
return (
<div className="flex flex-wrap gap-2">
<Badge>Default</Badge>
<Badge variant="secondary">Secondary</Badge>
<Badge variant="destructive">Destructive</Badge>
<Badge variant="outline">Outline</Badge>
<Badge variant="ghost">Ghost</Badge>
</div>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does BadgeVariants() do?
BadgeVariants() is a function in the ui codebase, defined in apps/v4/examples/base/badge-variants.tsx.
Where is BadgeVariants() defined?
BadgeVariants() is defined in apps/v4/examples/base/badge-variants.tsx at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free