{"id":20479590,"url":"https://github.com/finnbear/yew_confetti","last_synced_at":"2025-09-25T02:31:12.192Z","repository":{"id":262882406,"uuid":"888043209","full_name":"finnbear/yew_confetti","owner":"finnbear","description":"Confetti animation for Yew websites","archived":false,"fork":false,"pushed_at":"2024-11-17T20:21:58.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T01:07:10.413Z","etag":null,"topics":["canvas2d","confetti","confetti-animation","yew","yew-framework"],"latest_commit_sha":null,"homepage":"https://finnbear.github.io/yew_confetti/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/finnbear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-13T18:01:15.000Z","updated_at":"2024-11-17T20:22:01.000Z","dependencies_parsed_at":"2024-11-14T20:37:06.912Z","dependency_job_id":null,"html_url":"https://github.com/finnbear/yew_confetti","commit_stats":null,"previous_names":["finnbear/yew_confetti"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finnbear%2Fyew_confetti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finnbear%2Fyew_confetti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finnbear%2Fyew_confetti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/finnbear%2Fyew_confetti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/finnbear","download_url":"https://codeload.github.com/finnbear/yew_confetti/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234147916,"owners_count":18786934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas2d","confetti","confetti-animation","yew","yew-framework"],"created_at":"2024-11-15T15:44:46.793Z","updated_at":"2025-09-25T02:31:11.893Z","avatar_url":"https://github.com/finnbear.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yew_confetti\n\n[![Documentation](https://docs.rs/yew_confetti/badge.svg)](https://docs.rs/yew_confetti)\n[![crates.io](https://img.shields.io/crates/v/yew_confetti.svg)](https://crates.io/crates/yew_confetti)\n[![Build](https://github.com/finnbear/yew_confetti/actions/workflows/build.yml/badge.svg)](https://github.com/finnbear/yew_confetti/actions/workflows/build.yml) \n[![Test Page](https://img.shields.io/badge/Test-page-green)](https://finnbear.github.io/yew_confetti/)\n\nConfetti animation for Yew websites, inspired by [canvas-confetti](https://github.com/catdad/canvas-confetti).\n\n## Usage\n\n```rust\nuse yew::html;\nuse yew_confetti::{Confetti, Cannon, Mode};\n\n// Defaults, except style prop.\n// Shape and color props omitted.\nhtml! {\n    \u003cConfetti\n        width={256}\n        height={256}\n        decay={0.3}\n        drift={0}\n        gravity={1}\n        lifespan={2.5}\n        scalar={5}\n        style={\"background-color: black; width: 256px; height: 256px;\"}\n    \u003e\n        \u003cCannon\n            x={0.5}\n            y={0.5}\n            angle={1.5707964}\n            spread={0.7853982}\n            velocity={2}\n            mode={Mode::continuous(100)}\n        /\u003e\n    \u003c/Confetti\u003e\n}\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinnbear%2Fyew_confetti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinnbear%2Fyew_confetti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinnbear%2Fyew_confetti/lists"}