Slider with multiple (>2) values

Hello,
I see that slider has a double-ended version, where 2 values can be sent.

Can this be extended to have more than 2 values? For instance, allow the user to partition the range (0,100) into 4 pieces, by interactively sliding 3 points.

Thanks

Hi @Prashanth_Bhat, welcome to the Streamlit community!

It’s not possible to do this with the core Streamlit library, but if a JavaScript example exists, it would be a great thing to make into a Streamlit Component!

Best,
Randy

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.