{"id":15023226,"url":"https://github.com/ickshonpe/bevy_mod_ui_sprite","last_synced_at":"2025-10-26T17:30:45.242Z","repository":{"id":61248761,"uuid":"549726663","full_name":"ickshonpe/bevy_mod_ui_sprite","owner":"ickshonpe","description":"draw sprites with the bevy ui","archived":false,"fork":false,"pushed_at":"2022-10-17T09:25:27.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T21:41:19.380Z","etag":null,"topics":["bevy","bevy-engine","bevy-ui","rust"],"latest_commit_sha":null,"homepage":"","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/ickshonpe.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}},"created_at":"2022-10-11T16:30:20.000Z","updated_at":"2023-01-11T23:59:07.000Z","dependencies_parsed_at":"2022-10-13T14:32:38.641Z","dependency_job_id":null,"html_url":"https://github.com/ickshonpe/bevy_mod_ui_sprite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_mod_ui_sprite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_mod_ui_sprite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_mod_ui_sprite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_mod_ui_sprite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickshonpe","download_url":"https://codeload.github.com/ickshonpe/bevy_mod_ui_sprite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238375065,"owners_count":19461535,"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":["bevy","bevy-engine","bevy-ui","rust"],"created_at":"2024-09-24T19:58:51.223Z","updated_at":"2025-10-26T17:30:39.976Z","avatar_url":"https://github.com/ickshonpe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_mod_ui_sprite\n[![crates.io](https://img.shields.io/crates/v/bevy_mod_ui_sprite)](https://crates.io/crates/bevy_mod_ui_sprite)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](https://github.com/ickshonpe/bevy_mod_ui_sprite)\n[![crates.io](https://img.shields.io/crates/d/bevy_mod_ui_sprite)](https://crates.io/crates/bevy_mod_ui_sprite)\n\nDraw sprites, texture atlas sprites, and colored rectangles with the Bevy UI.\n\n![image](example.png)\n\n## Usage\n\nAdd the dependency to `Cargo.toml`:\n\n```toml\nbevy_mod_ui_sprite = \"0.2.1\"\n```\n\nAdd the plugin to your app:\n\n```rust\nuse bevy_mod_ui_sprite::*;\n\nfn main() {\n    App::new()\n        .add_plugins(DefaultPlugins)\n        .add_plugin(UiSpritePlugin)\n        // ..rest of app\n        .run()\n}\n```\nDon't forget a camera:\n\n```rust\ncommands.spawn_bundle(Camera2dBundle::default());\n```\n\nThen you can spawn a UiSpriteBundle:\n\n```rust\ncommands.spawn_bundle(UiSpriteBundle {\n    sprite: UiSprite::Image(asset_loader.load(\"sprite.png\")),\n    size: SpriteSize::Size(Vec2::new(64., 64.)),\n    color: UiColor(Color::YELLOW),\n    transform: Transform::from_translation(Vec3::new(100., 100., 100.)),\n    ..Default::default()\n});\n```\n\n## Full Example\n\n```\ncargo --run --example example\n```\n\n## Notes\n\nPerformance should be fine, but this crate is not a substitute for the much more efficient Bevy 2D renderer.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_mod_ui_sprite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickshonpe%2Fbevy_mod_ui_sprite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_mod_ui_sprite/lists"}