--- title: Meter description: A graphical display of a numeric value within a range. links: doc: https://base-ui.com/react/components/meter#api-reference --- ## Installation CLI Manual ```bash npx shadcn@latest add @coss/meter ``` Install the following dependencies: ```bash npm install @base-ui/react ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { Meter, MeterLabel, MeterValue } from "@/components/ui/meter" ``` ```tsx Progress ``` ## API Reference ### Meter Root component. Styled wrapper for `Meter.Root` from Base UI with flex column layout. ### MeterTrack Track container for the meter indicator. Styled wrapper for `Meter.Track` from Base UI. ### MeterIndicator Visual indicator showing the current value. Styled wrapper for `Meter.Indicator` from Base UI. ### MeterLabel Label text for the meter. Styled wrapper for `Meter.Label` from Base UI. ### MeterValue Displays the current value. Styled wrapper for `Meter.Value` from Base UI. ## Examples ### Without Label and Value ### With Formatted Value ### With Range