Docs
Badge

Badge

Displays a badge or a component that looks like a badge.

Installation

bash
npx shadcn-vue@latest add badge

Usage

vue
<script setup lang="ts">
import { Badge } from '@/lib/registry/default/ui/badge'
</script>

<template>
  <Badge>Badge</Badge>
</template>
Edit this page on GitHub