--- title: Badge description: Small status or label component for visual categorization sidebar: auto --- # Badge ## Overview The Badge component is used to display status, categories, or labels in a compact form. It's commonly used for tags, status indicators, and counts. ## Live Demo :::demo badge-variants Shows all available badge variants including default, secondary, destructive, outline, success, warning, info, review, and gradient ::: ## Props ## Variants ### Default Primary badge with theme color background. Used for primary labels and categories. ### Secondary Muted badge for secondary information. ### Destructive Red badge for errors, danger states, or negative status. ### Outline Badge with only text and border, no background. Used for subtle labels. ### Success Green badge for success states, completed actions, or positive status. ### Warning Yellow/amber badge for warnings, pending states, or caution indicators. ### Info Blue badge for informational content or neutral status. ### Review Purple badge for review status, pending review, or feedback indicators. ### Gradient Badge with brand gradient background for featured or highlighted items. ## Usage Examples ### Basic Badge ```vue Default ``` ### Status Indicators ```vue Active Pending Failed Draft ``` ### Count Badge ```vue
3
``` ### Category Tags ```vue
React TypeScript Tailwind
``` ### Review Status ```vue In Review ``` ### Gradient Badge ```vue Featured ``` ## Related Components - [Card](/components/ui/card) - [Button](/components/ui/button) - [Avatar](/components/ui/avatar)