import streamlit as st from streamlit_custom_slider import st_custom_slider from streamlit_custom_slider import st_range_slider v_custom = st_custom_slider('Hello world', 0, 100, 50, key="slider1") st.write(v_custom) # Add a range slider v_custom_range = st_range_slider('Hello world', 0, 100, (20, 60), key="slider2") st.write(v_custom_range) cols = st.columns(2) with cols[0]: st_range_slider('Hello world', 0, 100, (20, 60), key="slider3")