Image next to name for radiobutton option*

Hi all,

it’s been a while since my last interaction with Streamlit, I was wondering about radiobuttons:

  • is it possible to enter Image next to name for radiobutton option? (image attached).

For example, I would use instead options ‘Radio’ something like: ‘Radio’ st.image(image), or just st.image = 'R1', options = ['Radio' st.image, st.image, 'R3','4']

It’s not possible to use an st.image for an option value, but you can use an emoji like this"R1", options=["Radio", "📻", "📺", "R3", "R4"])

Could be this component what you are looking for?

1 Like