CircularProgress

Progress as a ring — for a small space, a card's corner, a goal.

Import it from rei-kit: import { CircularProgress } from 'rei-kit'

Open CircularProgress in the live documentation, where every prop below is a control you can change, in four materials and ten palettes.

Usage

<script setup lang="ts">
import { CircularProgress } from 'rei-kit'
</script>

<template>
  <div class="flex items-center gap-4">
    <CircularProgress :value="72" label="Upload" show-value size="lg" />
    <CircularProgress label="Loading" />
  </div>
</template>

Props

Props
PropTypeRequired or defaultWhat it is for
valuenumberundefinedHow far. Leave it out while there is nothing to measure.
maxnumber100
labelstringyesThe accessible name, e.g. "Upload". Required: a ring says nothing aloud on its own.
size'sm' | 'md' | 'lg''md'
showValuebooleanfalseThe rounded percentage inside the ring.
tone'primary' | 'accent' | 'positive' | 'warning' | 'negative''primary'

About rei-kit

rei-kit is an accessible Vue 3 and Tailwind CSS 4 component library: 106 components, themed by role rather than by colour on three independent axes — ten WCAG-checked palettes, four materials and light or dark, each switched with one attribute. Typed, tested, SSR-safe, no runtime dependencies, MIT.

pnpm add rei-kit · npm · GitHub