https://github.com/finnbear/yew_confetti
Confetti animation for Yew websites
https://github.com/finnbear/yew_confetti
canvas2d confetti confetti-animation yew yew-framework
Last synced: 9 months ago
JSON representation
Confetti animation for Yew websites
- Host: GitHub
- URL: https://github.com/finnbear/yew_confetti
- Owner: finnbear
- License: mit
- Created: 2024-11-13T18:01:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-17T20:21:58.000Z (over 1 year ago)
- Last Synced: 2025-01-11T01:07:10.413Z (over 1 year ago)
- Topics: canvas2d, confetti, confetti-animation, yew, yew-framework
- Language: Rust
- Homepage: https://finnbear.github.io/yew_confetti/
- Size: 34.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yew_confetti
[](https://docs.rs/yew_confetti)
[](https://crates.io/crates/yew_confetti)
[](https://github.com/finnbear/yew_confetti/actions/workflows/build.yml)
[](https://finnbear.github.io/yew_confetti/)
Confetti animation for Yew websites, inspired by [canvas-confetti](https://github.com/catdad/canvas-confetti).
## Usage
```rust
use yew::html;
use yew_confetti::{Confetti, Cannon, Mode};
// Defaults, except style prop.
// Shape and color props omitted.
html! {
}
```
## License
Licensed under either of
* Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license
([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.