badge-variants.tsx — ui Source File
Architecture documentation for badge-variants.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR eea390ad_f336_953a_7b8c_2723f2c645ae["badge-variants.tsx"] 9b75df2e_777a_32c5_f7c8_57d1bba676c7["badge"] eea390ad_f336_953a_7b8c_2723f2c645ae --> 9b75df2e_777a_32c5_f7c8_57d1bba676c7 style eea390ad_f336_953a_7b8c_2723f2c645ae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Badge } from "@/examples/base/ui/badge"
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
Functions
Dependencies
- badge
Source
Frequently Asked Questions
What does badge-variants.tsx do?
badge-variants.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-variants.tsx?
badge-variants.tsx defines 1 function(s): BadgeVariants.
What does badge-variants.tsx depend on?
badge-variants.tsx imports 1 module(s): badge.
Where is badge-variants.tsx in the architecture?
badge-variants.tsx is located at apps/v4/examples/base/badge-variants.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