Range Sliders in zero-true
Creating a Range Slider
Creating a rage slider in zero-true is simple. Type:
Run the cell in your notebook, and watch the range slider appear below.
Range Slider Settings and Values
Range Sliders have a minimum, maximum, and step in zero-true. The default values for min and max are 0 and 100 and the step is 1 but you can set them to whatever you’d like. The range slider value will return a list structured as follows [min,max]. Here is a little snippet to show you how to access the min and max values from your range slider.
Range Slider Use Cases
Sliders can be used to capture any numeric input. Here is a more fleshed out example including filtering a dataframe:
![title](/blogs/gifs/range slider.gif)
Customizing your Range Slider
You can also add different colors and labels to your slider to make it to your liking. Feel free to check out the full range of options with the api reference for a slider.