Skip to content

Percentage

A label that displays a percentage.

Usage

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

<template>
  <Percentage
    type="danger"
    :percentage="-40"
  />
</template>

API Reference