I made a streamlit marquee component and have published it to pypi

i made a marquee component,here is usage and the effect~

from streamlit_marquee import streamlit_marquee

streamlit_marquee(**{
    # the marquee container background color
    'background': "#ff0000",
    # the marquee text size
    'font-size': '12px',
    # the marquee text color
    "color": "#ffffff",
    # the marquee text content
    'content': 'here is custom marquee component~',
    # the marquee container width
    'width': '600px',
    # the marquee container line height
    'lineHeight': "35px",
    # the marquee duration
    'animationDuration': '5s',
})

streamlit-marquee.gif

you can the see souce code on github

5 Likes

Awesome! :balloon:

Great job! :balloon:

Feel free to add it to the Components Tracker: Streamlit Components - Community Tracker so we don’t lose track of it!

Have a nice day,
Fanilo