Streamlit component to render Lottie animations
Streamlit component to render Lottie animations
This project is unmaintained.
Though you could get a similar feature by embedding the Lottie HTML code into st.html.
Integrate Lottie animations inside your Streamlit app!
pip install streamlit-lottieimport streamlit as st
from streamlit_lottie import st_lottie
with st.echo():
st_lottie("https://assets5.lottiefiles.com/packages/lf20_V9t630.json")
st.lottie function)import streamlit as st
import streamlit_lottie
with st.echo():
st.lottie("https://assets5.lottiefiles.com/packages/lf20_V9t630.json")
with notationimport time
import streamlit as st
from streamlit_lottie import st_lottie
with st_lottie("https://assets5.lottiefiles.com/packages/lf20_V9t630.json"):
time.sleep(5)
…cd frontend
npm installconda create -n streamlit-lottie python=3.7
conda activate streamlit-lottie
pip install -e .Both webpack dev server and Streamlit need to run for development mode.
cd frontend
npm run startstreamlit run app.pyNo open issues yet, or sync has not completed.