Skip to content

j-ncel/streamlit-emoji-float

Repository files navigation

streamlit-emoji-float

streamlit-emoji-float is a fun custom Streamlit component that animates emojis, making them float on your Streamlit app.


Demo GIF

Installation

pip install streamlit-emoji-float

Usage

from streamlit_emoji_float import emoji_float

# Usage with default emojis
emoji_float()

# Usage with custom parameters
emoji_float(
    emojis=["🔥", "🚀", "🎉"],
    count=20,
    minSize=50,
    maxSize=100,
    animationLength=5
)

emojis: List of emoji characters to animate (default: ["⭐", "😊", "🎈"])
count: Number of emojis to spawn (default: 50)
minSize: Minimum size in pixels (default: 50)
maxSize: Maximum size in pixels (default: 100)
animationLength: Duration of floating animation (default: 3)
key: Streamlit component key for uniqueness

Buy Me a Coffee

About

Streamlit component that animates emojis, making them float on your Streamlit app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors