Metadata-Version: 2.4
Name: streamlit-emoji-float
Version: 0.1.0
Summary: Streamlit component that animates emojis, making them float on your Streamlit app.
Author: Juncel Datinggaling
License-Expression: MIT
Project-URL: Homepage, https://github.com/j-ncel/streamlit-emoji-float
Project-URL: Repository, https://github.com/j-ncel/streamlit-emoji-float
Project-URL: Issues, https://github.com/j-ncel/streamlit-emoji-float/issues
Keywords: streamlit,emoji,animation,component
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: streamlit>=1.51
Provides-Extra: devel
Requires-Dist: wheel; extra == "devel"
Requires-Dist: pytest==7.4.0; extra == "devel"
Requires-Dist: playwright==1.48.0; extra == "devel"
Requires-Dist: requests==2.31.0; extra == "devel"
Requires-Dist: pytest-playwright-snapshot==1.0; extra == "devel"
Requires-Dist: pytest-rerunfailures==12.0; extra == "devel"
Dynamic: license-file

# streamlit-emoji-float

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

![Demo GIF](https://github.com/j-ncel/streamlit-emoji-float/blob/main/sample/emoji-float-sample.gif?raw=true)

## Installation

```bash
pip install streamlit-emoji-float
```

## Usage

```python
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

<a href="https://coff.ee/jncel">
  <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" width="100" height="" alt="Buy Me a Coffee">
</a>
