Components
Chat
Chat InputColors
Color AreaColor FieldColor PickerColor SliderColor SwatchColor Swatch PickerColor ThumbColor WheelDrag and drop
Drop ZoneForms
CheckboxCheckbox GroupFieldFormInput OTPInput PhoneNumber FieldRadio GroupSearch FieldSelection BoxTag FieldText FieldTextareaTypography
TypographyUtilities
Visually HiddenMeter
A graphical representation of a measured value within a fixed range, perfect for showing scores, ratings, or resource usage.
Basic
A meter displays a value within a specified range, showing how much of the total range is currently occupied. Unlike a progress bar, which typically indicates progress towards completing a task over time, a meter reflects a specific measurement or quantity at a given moment.
Installation
If you hit any issues, make sure you check out the installation guide here for more information.
Composed Components
When you install this component via the CLI, it automatically loads all composed components, so you don’t need to add them individually.
The Meter comes packed with several components to enhance functionality and provide a seamless experience.
Manual Installation
Make sure you also install the composed components and the required packages for the component to function properly.
Anatomy
Decimal Format
By default, the meter will display the value as a percentage. You can change the format of the value by passing a formatOptions
prop. This example is shown decimal format.
Currency Format
You can also change the currency format of the value by passing a formatOptions
prop. This example is shown currency format.
Custom Value Label
You also customize the value label by passing a valueLabel
prop. This example is shown value label.