Display an informational message.
Function signature

st.info(body, *, icon=None)

Parameters

icon (None)

An optional parameter, that adds an emoji to the alert. The default is None. This argument can only be supplied by keyword.

body (str)

The info text to display.

Example

st.info('This is a purely informational message', icon="ℹ️")

Was this page helpful?

editSuggest edits
forum

Still have questions?

Our forums are full of helpful information and Streamlit experts.