GitHub54X

Badge

Vue badge for compact status labels, counts, and categorical tags next to text or controls.

PreviousNext

Installation

Install from the Vuzeno registry:

      
      bunx --bun shadcn-vue@latest add https://vuzeno.com/r/badge.json
    

Usage

      
      <script setup lang="ts">
import { Badge } from "@/components/ui/badge";
</script>

<template>
  <Badge variant="secondary">Badge</Badge>
</template>
    

Examples

Variants

Use the variant prop to change the visual style of the badge.