--- title: "Meter" slug: meter category: component type: technical-information version: 20.0.0 tokens: 284 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-meter--technical-information.txt --- # Meter ## Meter This component extends all the native `
` attributes. | Property | Type | Required | Default | Description | |---|---|---|---|---| | `high` | `number` | No | undefined | The lower numeric bound of the high end of the measured range. | | `low` | `number` | No | undefined | The upper numeric bound of the low end of the measured range. | | `max` | `number` | No | undefined | The upper numeric bound of the measured range. | | `min` | `number` | No | undefined | The lower numeric bound of the measured range. | | `optimum` | `number` | No | undefined | The optimal numeric value. Combined with low and high, it will changes the coloring behaviour. | | `value` | `number` | No | undefined | The current value of the meter | ## Types - `MeterState`: `"critical" | "normal" | "warning"` ## CSS Variables | Variable | Default value | |---|---| | `--ods-meter-background-color-critical` | `var(--ods-semantic-color-surface-critical)` | | `--ods-meter-background-color-normal` | `var(--ods-semantic-color-surface-success)` | | `--ods-meter-background-color-warning` | `var(--ods-semantic-color-surface-warning)` |