# Display progress and status

Source: https://docs.streamlit.io/develop/api-reference/status

Streamlit provides a few methods that allow you to add animation to your
apps. These animations include progress bars, status messages (like
warnings), and celebratory balloons.

## Animated status elements

**[Progress bar](https://docs.streamlit.io/develop/api-reference/status/st.progress)**: Display a progress bar.

```python
for i in range(101):
  st.progress(i)
  do_something_slow()
```

**[Spinner](https://docs.streamlit.io/develop/api-reference/status/st.spinner)**: Temporarily displays a message while executing a block of code.

```python
with st.spinner("Please wait..."):
  do_something_slow()
```

**[Status container](https://docs.streamlit.io/develop/api-reference/status/st.status)**: Display output of long-running tasks in a container.

```python
with st.status('Running'):
  do_something_slow()
```

**[Skeleton](https://docs.streamlit.io/develop/api-reference/status/st.skeleton)**: Display a skeleton placeholder while loading.

```python
with st.skeleton(height=200):
  do_something_slow()
```

**[Toast](https://docs.streamlit.io/develop/api-reference/status/st.toast)**: Briefly displays a toast message in the top-right corner.

```python
st.toast('Butter!', icon='🧈')
```

**[Balloons](https://docs.streamlit.io/develop/api-reference/status/st.balloons)**: Display celebratory balloons!

```python
st.balloons()
```

**[Snowflakes](https://docs.streamlit.io/develop/api-reference/status/st.snow)**: Display celebratory snowflakes!

```python
st.snow()
```

## Simple callout messages

**[Success box](https://docs.streamlit.io/develop/api-reference/status/st.success)**: Display a success message.

```python
st.success("Match found!")
```

**[Info box](https://docs.streamlit.io/develop/api-reference/status/st.info)**: Display an informational message.

```python
st.info("Dataset is updated every day at midnight.")
```

**[Warning box](https://docs.streamlit.io/develop/api-reference/status/st.warning)**: Display warning message.

```python
st.warning("Unable to fetch image. Skipping...")
```

**[Error box](https://docs.streamlit.io/develop/api-reference/status/st.error)**: Display error message.

```python
st.error("We encountered an error")
```

**[Exception output](https://docs.streamlit.io/develop/api-reference/status/st.exception)**: Display an exception.

```python
e = RuntimeError("This is an exception of type RuntimeError")
st.exception(e)
```
