Slider
Carbon-spec slider. Wraps Radix Slider for ARIA + keyboard. Carbon's surrounding label / value-input / min-max-labels structure rendered around the Radix root.
primitives-slider--defaultOpen all variants →
When to use
- Numeric input where the range matters more than the precise value (volume, opacity, density, threshold).
- Bounded ranges with discrete
stepvalues where users want spatial feedback.
When not to use
- Precise numeric input → use the
NumberInputpattern. - Free-text numeric → use `TextInput`
type="number". - Unbounded counts → use the
NumberInputpattern.