reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
Meter
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

Meter

Component

Display a scalar measurement within a range, such as disk usage, score, or capacity, using meter semantics.

Related docs
bun add @reopt-ai/opt-ui
Install and import
bash
bun add @reopt-ai/opt-ui
tsx
import { Meter } from "@reopt-ai/opt-ui";

Live preview

Change the width and theme, then interact with the components.

100%

기본

디스크 사용량72%
비밀번호 강도45%
용량90%
배터리12%

크기

Meter

PropTypeDefaultDescription
valueRequirednumber—현재 값
minnumber0최소 값
maxnumber100최대 값
size"sm" | "md" | "lg""md"게이지 높이
variant"default" | "success" | "warning" | "error""default"색상 변형
showValuebooleanfalse퍼센트 표시
labelstring—레이블 텍스트
View test results

테스트 커버리지

2026년 7월 9일4/4 통과
4성공
0실패
4전체
  • meter role을 렌더링한다
  • aria 값 속성을 설정한다
  • 범위를 벗어난 값을 클램프한다
  • label과 값을 표시한다

Related components

opt-ui

FieldToken

Core

Display field types with consistent glyphs and optional labels for strings, numbers, dates, IP addresses, and geographic data.

opt-ui

Facet

Core

Filter by field values while reading their counts and distribution bars. Show top values first and collapse the long tail.

opt-ui

Expression

Core

Read and edit conditions as sentences for alert rules and segment filters that need to be easy to verify.

opt-ui

TextTruncate

Core

Measure text in its actual font and available width to truncate the start, middle, or both ends while preserving the full accessible text.

opt-ui

Highlight

Core

Mark matching search terms with semantic mark elements, matching longer terms first to avoid fragmented overlaps.

opt-ui

LiveRegion

Core

Announce live updates to screen readers with throttled summaries and alternating nodes that can repeat identical messages.

PreviousProgressNextBreadcrumb