g3-toolkit API Reference
    Preparing search index...

    Interface CoverageMeterProps

    interface CoverageMeterProps {
        animate?: boolean;
        claimable: number;
        className?: string;
        height?: number;
        label: string;
        showValues?: boolean;
        state?: CoverageState;
        substantiated: number;
        testId?: string;
    }
    Index

    Properties

    animate?: boolean

    Animate the fill on mount. The consumer passes its reduced-motion decision here; the meter does not consult matchMedia itself. Default true.

    claimable: number

    Claimable coverage, 0..1 (the ghost bar; the performative ceiling). Clamped to be at least substantiated so the exposure never reads negative.

    className?: string
    height?: number

    Track height in px. Default 14.

    label: string

    Concept (or metric) name shown beside the meter.

    showValues?: boolean

    Render the percentage values at the right. Default true.

    Honest state; selects the accent color. Defaults to "neutral".

    substantiated: number

    Substantiated coverage, 0..1 (the solid bar; the defensible floor).

    testId?: string