RangeSlider
The props declared for RangeSlider, generated from the types @proyecto-viviana/ui ships.
Import
import { RangeSlider } from "@proyecto-viviana/ui";Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | RangeValue | — | Not yet documented |
defaultValue | RangeValue | — | Not yet documented |
onChange | (value: RangeValue) => void | — | Not yet documented |
onChangeEnd | (value: RangeValue) => void | — | Not yet documented |
minValue | number | — | Not yet documented |
maxValue | number | — | Not yet documented |
step | number | — | Not yet documented |
size | 'S' | 'M' | 'L' | 'XL' | 'sm' | 'md' | 'lg' | — | Not yet documented |
variant | 'default' | 'accent' | — | Legacy alias. Prefer S2 `isEmphasized`. |
isEmphasized | false | true | — | Not yet documented |
trackStyle | 'thin' | 'thick' | — | Not yet documented |
thumbStyle | 'default' | 'precise' | — | Not yet documented |
class | string | — | Not yet documented |
label | number | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement | — | Not yet documented |
contextualHelp | number | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement | — | Not yet documented |
showOutput | false | true | — | Not yet documented |
labelPosition | 'top' | 'side' | — | Not yet documented |
labelAlign | 'start' | 'end' | — | Not yet documented |
startName | string | — | Not yet documented |
endName | string | — | Not yet documented |
form | string | — | Not yet documented |
isDisabled | false | true | — | Not yet documented |
formatOptions | Intl.NumberFormatOptions | — | Not yet documented |
styles | StyleString | — | Not yet documented |
UNSAFE_className | string | — | Not yet documented |
UNSAFE_style | JSX.CSSProperties | — | Not yet documented |
slot | string | — | Not yet documented |
ref | HTMLDivElement | ((el: HTMLDivElement) => void) | { current?: HTMLDivElement | null | undefined; } | — | Not yet documented |
aria-label | string | — | Defines a string value that labels the current element. |
aria-labelledby | string | — | Identifies the element (or elements) that labels the current element. |
aria-describedby | string | — | Identifies the element (or elements) that describes the object. |
aria-details | string | — | Identifies the element that provides a detailed, extended description for the object. |
Declared in packages/viviana-ui/src/slider/RangeSlider.tsx.
Props marked solidaria or solidaria-components come from the headless layer underneath and behave the same in both registers. Components that wrap a DOM element also accept that element's standard attributes, which are left out here on purpose — listing them would bury the props that are actually ours.