Skip to content

Meter ​

Function of @v12-engine/client/kit

ts
export declare function Meter(props: {
    value: number;
    max?: number;
    kind?: NonNullable<Parameters<typeof look.meterFill>[0]>['kind'];
    size?: NonNullable<Parameters<typeof look.meterTrack>[0]>['size'];
    label?: JSX.Element;
    class?: string;
}): JSX.Element;

A bar that fills, from value out of max (1 when left out). Only its width changes as the value does, so it is fine to give it a value that changes every frame