Skip to main content
PROYECTOVIVIANA

RangeSlider

The props declared for RangeSlider, generated from the types @proyecto-viviana/ui ships.

Import

import { RangeSlider } from "@proyecto-viviana/ui";

Props

Props for RangeSlider in @proyecto-viviana/ui
PropTypeDefaultDescription
valueRangeValue—Not yet documented
defaultValueRangeValue—Not yet documented
onChange(value: RangeValue) => void—Not yet documented
onChangeEnd(value: RangeValue) => void—Not yet documented
minValuenumber—Not yet documented
maxValuenumber—Not yet documented
stepnumber—Not yet documented
size'S' | 'M' | 'L' | 'XL' | 'sm' | 'md' | 'lg'—Not yet documented
variant'default' | 'accent'—Legacy alias. Prefer S2 `isEmphasized`.
isEmphasizedfalse | true—Not yet documented
trackStyle'thin' | 'thick'—Not yet documented
thumbStyle'default' | 'precise'—Not yet documented
classstring—Not yet documented
labelnumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—Not yet documented
contextualHelpnumber | boolean | RenderedElement | ArrayElement | (string & {}) | Node | JSX.ArrayElement—Not yet documented
showOutputfalse | true—Not yet documented
labelPosition'top' | 'side'—Not yet documented
labelAlign'start' | 'end'—Not yet documented
startNamestring—Not yet documented
endNamestring—Not yet documented
formstring—Not yet documented
isDisabledfalse | true—Not yet documented
formatOptionsIntl.NumberFormatOptions—Not yet documented
stylesStyleString—Not yet documented
UNSAFE_classNamestring—Not yet documented
UNSAFE_styleJSX.CSSProperties—Not yet documented
slotstring—Not yet documented
refHTMLDivElement | ((el: HTMLDivElement) => void) | { current?: HTMLDivElement | null | undefined; }—Not yet documented
aria-labelstring—Defines a string value that labels the current element.
aria-labelledbystring—Identifies the element (or elements) that labels the current element.
aria-describedbystring—Identifies the element (or elements) that describes the object.
aria-detailsstring—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.