  st.radio('Select one:', [1, 2])
```
Control flow
```python
st.stop()
with st.form(key='my_form'):
  username = st.text_input('Username')
  password = st.text_input('Password')
  st.form_submit_button('Login')
```
Display interactive widgets
```python
st.button('Click me')
st.checkbox('I agree')
st.radio('Pick one', ['cats', 'dogs'])
st.selectbox('Pick one', ['cats', 'dogs'])
st.multiselect('Buy', ['milk', 'apples', 'potatoes'])
st.slider('Pick a number', 0, 100)
st.select_slider('Pick a size', ['S', 'M', 'L'])
st.text_input('First name')
st.number_input('Pick a number', 0, 10)
st.text_area('Text to translate')
st.date_input('Your birthday')
st.time_input('Meeting time')
st.file_uploader('Upload a photo')
st.download_button('Download file', data)
st.color_picker('Pick a color')
Use widgets' returned values in variables:
