The LinearGauge component renders a horizontal tick-based gauge ideal for progress indicators, metrics dashboards, and system health displays. It supports flexible label configurations including none, percentage, or custom values.
Show percentage labels at key intervals (0%, 25%, 50%, 75%, 100%).
Provide an array of custom labels distributed evenly across the gauge.
Flip the order of labels and gauge by using direction="column-reverse".
Use the hue prop to represent different states with color gradients.
Customize tick count, width, and length for different visual densities.
The LinearGauge component accepts all layout props from Flex (except direction) plus the following gauge-specific props:
Use LinearGauge for horizontal metrics displays, progress tracking, or any scenario where a linear representation is more appropriate than a radial one.