Skip to main content

Meter

A determinate or indeterminate numeric indicator.

Props​

PropTypeRequired
accessibilityHintstringNo
enabledbooleanNo
labelstringNo
maxnumberNo
minnumberNo
semanticsstringNo
valueanyNo

Types describe evaluated values. Literal native attributes use the declared decoder; use bind-* for expressions. any still has the semantic constraints listed below. Common document attributes (class, state, show, etc.) are separate from props.

Example​

<Meter label="Upload" value="25" min="0" max="100" />

Defaults, values, and validation​

min/max default 0/100; min < max and absolute bounds at most 1,000,000. value is in bounds or null/omitted for indeterminate display.

Unknown props, wrong types, missing required props, and unsupported child structure fail validation. Use attributes for evaluated input and diagnostics for recovery.

Events​

No component events.

Local commands​

No local commands.

Native primitive index · Events · Host APIs