Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Anatomy
  • Examples
  • Storage usage
  • Recommendations
  • Usage boundaries
  • API reference

Feedback

Meter

Displays a measurable value within a known range with native meter semantics.

idle

Usage

import {
	Meter,
	MeterIndicator,
	MeterLabel,
	MeterTrack,
	MeterValue,
} from "@mizen-labs/ui";

Anatomy

The parts and how they nest, taken from the preview above.

<Meter>
	<MeterLabel />
	<MeterValue />
	<MeterTrack>
		<MeterIndicator />
	</MeterTrack>
</Meter>

Examples

Storage usage

Recommendations

GuidancePractice
Do

Label the measured quantity and its range. Show units and the exact value when they affect decisions.

Usage boundaries

GuidanceBoundary
Scope

Use Progress for task completion. Meter represents a measurement within a known range.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
Meter.valuenumberRequiredSets the measured value. Base UI owns its accessible value range.
Meter.min / Meter.maxnumberBase UI defaultsSet the lower and upper bounds for the measurement.
MeterLabelMeterLabelPropsOptionalNames the meter; aria-label or aria-labelledby can also provide its accessible name.
MeterTrack / MeterIndicator / MeterValueComposable partsTrack and indicator by defaultProvide the visual scale and formatted value. The root creates a default track when children are omitted.
PreviousError StateNextProgress
Storage used
72%
x
Workspace storage
72%
x
Documents
18 GB
Media
46 GB
Archives
8 GB

28 GB available on your workspace plan.