Skip to content

Badge

Display a badge component that highlights key information.

Usage

vue
<script setup lang='ts'>
import { Badge } from '@youcan/ui-vue3';
</script>

<template>
  <Badge state='danger' :size='24'>
    New
  </Badge>
</template>

API Reference