Multiline multiselect

Is it possible to create a multiline multiselect input using streamlit? The screenshot below is from a shiny app where you can use shift and cmd/ctrl to select the variables you want.


You would need a custom component for this as the current multiselect doesnโ€™t operate that way. So yes, it is possible, but youโ€™d have to do more manual work (or find someone else who already did).

Thanks for the quick response. I took a quick look at Create a Component - Streamlit Docs and creating a custom component looks a bit involved.