From f2e739f4f861f163661aac0456b1144732184e73 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 3 Aug 2026 11:42:12 +0000 Subject: [PATCH] Deploy --- src/components/ui/Badge.tsx | 19 +++++++++++++++++++ 1 file changed, 19 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..bf2e5d0 --- /dev/null +++ b/src/components/ui/Badge.tsx @@ -0,0 +1,19 @@ +import * as React from 'react' +import { cn } from '@/lib/utils' + +interface BadgeProps extends React.HTMLAttributes { + variant?: "primary" | "secondary" | "accent" | "outline" +} + +export default function Badge({ variant = 'primary', className, ...props }: BadgeProps) { + const baseClasses = 'inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors' + const variantClasses = { + primary: 'bg-primary text-primary-foreground', + secondary: 'bg-secondary text-secondary-foreground', + accent: 'bg-accent text-accent-foreground', + outline: 'border border-border bg-background text-foreground' + } + return ( + + ) +} \ No newline at end of file