8.4k

Meter

A graphical display of a numeric value within a range.

API Reference

Installation

pnpm dlx shadcn@latest add https://coss.com/ui/r/meter.json

Usage

import { Meter, MeterLabel, MeterValue } from "@/components/ui/meter"
<Meter value={40}>
  <MeterLabel>Progress</MeterLabel>
  <MeterValue />
</Meter>

Examples

Without Label and Value

With Formatted Value

With Range

coss.com ui

Built by and for the team of Cal.com, Inc. — the leading commercial open source company (“coss”).