Skip to content

zk-meter ​

A gauge, the native <meter>.

Props ​

PropTypeDefaultDescription
valueint|floatrequiredCurrent value
minint|float0Minimum
maxint|float100Maximum
lowint|float|nullnullUpper limit of the low range
highint|float|nullnullLower limit of the high range
optimumint|float|nullnullBest value
labelstring|nullnullAccessible name
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultFallback text, by default the value

The browser colours it by range; style meter::-webkit-meter-optimum-value and the -moz-meter-* selectors to change that. Use zk-progress for a task that advances. No JavaScript.

Examples ​

Disk usage ​

blade
<x-zk-meter :value="60" :low="30" :high="80" :optimum="0" label="Disk usage" />

Documentation of 3.2.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.