Meter

A graphical display of a numeric value within a range.

API Reference

Installation

npx love-ui@latest add meter

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