appica-dev

Meter

Component

About

A composable meter/gauge that displays a static numeric measurement within a known range (like disk usage or a score), with optional low/high/optimum thresholds that recolor the fill to signal good, borderline, or bad readings.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Meter to your project and fits it to your theme.

Code

How Meter is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  Meter,
  MeterLabel,
  MeterValue,
  MeterProgress,
} from "@/components/ui/meter";

export default function MeterDefault() {
  return (
    <Meter value={64} className="w-72 max-w-full">
      <MeterLabel>Storage</MeterLabel>
      <MeterValue />
      <MeterProgress />
    </Meter>
  );
}

Dependencies

More by appica-dev

View all
  • Border Beam

    Border Beam

    43
  • Text Animate

    Text Animate

    19
  • Carousel

    Carousel

    14
  • Sparkline

    Sparkline

    7
  • Table of Contents

    Table of Contents

    6
  • Color Area

    Color Area

    6
  • Avatar

    Avatar

    6
  • Background Pattern

    Background Pattern

    3