Add my own settings into "Settings"

Hi,

Is it possible to add my own settings into “Settings” that appear on the right?

For example, I can add a text input which a user can set the server address.

image

Hi @demoacct - welcome to Streamlit!

This isn’t possible in Streamlit, though there’s a feature request for it that you’re welcome to add to or vote on, to help give us a sense of how important this is to users!

In the meantime, might st.sidebar provide what you’re looking for? For example:

import streamlit as st

address = st.sidebar.text_input("Server address")
st.write("You entered: ", address)

This will put a Server Address text input into Streamlit’s sidebar, which doesn’t scroll with the rest of the page, and works well for app-specific settings: