Skip to content

Stat

Metric card with delta, status, and optional progress.

Usage

vue
<script setup>
import { ArchStat } from "@archora/ui";
</script>

<template>
  <ArchStat label="Health" value="82%" delta="+4%" delta-tone="positive" :progress="82" />
</template>

Live sandbox

Stat can be tested directly on this page.

interactive
Health
82%+4%
<Stat />

Props

PropTypeDefaultDescription
labelstring-Accessible label or text.
valuestring | number-Value.
deltastring-Metric delta.
deltaTone"neutral" | "positive" | "negative" | "warning""neutral"Delta tone.
statusstring-Status.
progressnumber-0-100 progress.

Slots

SlotPropsDescription
default-Additional content.