Help with embeeding this html component in streamlit

Instead of st.text_input, I was hoping to embed a custom input box with a dropdown functionality, I found this piece of code online in html and js, could someone help me integrate this with streamlit?

I am Not very familiar with html and js components

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_autocomplete

Hi @Hiba_Fatima,

You can make a custom component. Try doing this short tutorial: Create a Streamlit Component β€” Streamlit 0.85.1 documentation

1 Like