From fc92f6d58fb1ede32165d300d7efc8afd70cca49 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 14 Jul 2026 19:12:50 +0000 Subject: [PATCH] Deploy --- src/components/ui/Badge.tsx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/components/ui/Badge.tsx diff --git a/src/components/ui/Badge.tsx b/src/components/ui/Badge.tsx new file mode 100644 index 0000000..8996d3f --- /dev/null +++ b/src/components/ui/Badge.tsx @@ -0,0 +1,28 @@ +import { cn } from '@/lib/utils' + +interface BadgeProps { + variant?: "primary" | "secondary" | "accent" | "outline" + className?: string + children: React.ReactNode +} + +const variantStyles: Record = { + primary: 'bg-primary text-primary-foreground', + secondary: 'bg-secondary text-secondary-foreground', + accent: 'bg-accent text-accent-foreground', + outline: 'border border-border text-foreground', +} + +export default function Badge({ variant = 'primary', className, children }: BadgeProps) { + return ( + + {children} + + ) +} \ No newline at end of file