'selection_mode' not working in pills

I tried using st.pillsand followed streamlit-pills
AttributeError: module ‘streamlit’ has no attribute ‘pills’
Then to get about this I followed streamlit-pills pypi.
Then I did pip install streamlit-pills

from streamlit_pills import pills
selected = pills("Label", ["Option 1", "Option 2", "Option 3"], ["🍀", "🎈", "🌈"])
st.write(selected)

In this mode streamlit pills work, but the selection_mode="multi" does not work in this option
I even tried pip install streamlit-pills-multiselect, following streamlit-pills-multiselect but still no luck