Skip to main content

Range Slider

The Range Slider component allows users to select a value or a range of values by sliding a handle along a track. It’s perfect for adjusting numeric inputs like price, rating, or volume in an intuitive and interactive way.

Properties

Slider

Property
Description
Expected Value
LabelText to display as the label for the field.String
Min valueSet the minimum value for the slider.This field accepts any numerical value.
Max valueSet the maximum value for the slider.This field accepts any numerical value.
Default valueSet the default value when the component loads. This can be used to pre-fill the value based on your data and requirements.This field accepts any numerical value.
Step sizeChoose the step size for the slider.This field accepts any numerical value.
Set marksSet marking on the slider.Accepts an array of objects with label and value as properties.

Range slider

Property
Description
Expected Value
LabelText to display as the label for the field.String
Min valueSet the minimum value for the slider.This field accepts any numerical value.
Max valueSet the maximum value for the slider.This field accepts any numerical value.
Default start valueSet the default start value when the component loads. This can be used to pre-fill the value based on your data and requirements.This field accepts any numerical value.
Default end valueSet the end default value when the component loads. This can be used to pre-fill the value based on your data and requirements.This field accepts any numerical value.
Step sizeChoose the step size for the slider.This field accepts any numerical value.
Set marksSet marking on the slider.Accepts an array of objects with label and value as properties.

Events

EventDescription
On changeTriggers whenever the value is changed.
info

Check Action Reference docs to get detailed information about all the Actions.

Component Specific Actions (CSA)

The following actions of the component can be controlled using the component-specific actions (CSA), you can trigger it using an event or use a RunJS query.

Action
Description
How To Access
setValue( )Sets the value of the component.components.rangeslider1.setValue()
setRangeValue( )Sets the range of the component.components.rangeslider1.setRangeValue()
setVisibility( )Sets the visibility of the component.components.rangeslider1.setVisibility(false)
setLoading( )Sets the loading state of the component.components.rangeslider1.setLoading(true)
setDisable( )Disables the component.components.rangeslider1.setDisable(true)
reset( )Resets the component to default state.components.rangeslider1.reset()

Exposed Variables

VariablesDescriptionHow To Access
valueHolds the value of the slider, or an array when using range slider.{{components.rangeslider1.value}}
labelHolds the value of the component's label.{{components.rangeslider1.label}}

Additional Actions

Action
Description
Configuration Options
Loading stateEnables a loading spinner, often used with isLoading to indicate progress. Toggle or set dynamically.Enable/disable the toggle button or dynamically configure the value by clicking on fx and entering a logical expression.
VisibilityControls component visibility. Toggle or set dynamically.Enable/disable the toggle button or dynamically configure the value by clicking on fx and entering a logical expression.
DisableEnables or disables the component. Toggle or set dynamically.Enable/disable the toggle button or dynamically configure the value by clicking on fx and entering a logical expression.
TooltipProvides additional information on hover. Set a string value for display.String

Devices

Property
Description
Expected Value
Show on desktopMakes the component visible in desktop view.You can set it with the toggle button or dynamically configure the value by clicking on fx and entering a logical expression.
Show on mobileMakes the component visible in mobile view.You can set it with the toggle button or dynamically configure the value by clicking on fx and entering a logical expression.

Styles

Label

Property
Description
Configuration Options
TextSets the color of the component's label.Select the color or click on fx and input code that programmatically returns a Hex color code.
AlignmentSets the position of the label and input field.Click on the toggle options or click on fx to input code that programmatically returns an alignment value - side or top.
WidthSets the width of the input field.Keep the Auto width option for standard width or deselect it to modify the width using the slider or through code entry in fx that returns a numeric value.

Slider

PropertyDescriptionConfiguration Options
TrackSets the color for slider track.Select a theme or choose from color picker.
AccentSets the accent color.Select a theme or choose from color picker.
HandleSets the handle color.Select a theme or choose from color picker.
Handle borderSets the handle border color.Select a theme or choose from color picker.
Market labelSets the marker label color.Select a theme or choose from color picker.
info

Any property having fx button next to its field can be programmatically configured.