{"id":15178461,"url":"https://github.com/ickshonpe/bevy_ui_style_builder","last_synced_at":"2026-02-12T13:39:33.783Z","repository":{"id":65779757,"uuid":"599637265","full_name":"ickshonpe/bevy_ui_style_builder","owner":"ickshonpe","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-09T17:37:12.000Z","size":377,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-22T08:30:19.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-09T15:07:47.000Z","updated_at":"2023-02-09T15:07:57.000Z","dependencies_parsed_at":"2023-03-17T23:45:15.122Z","dependency_job_id":null,"html_url":"https://github.com/ickshonpe/bevy_ui_style_builder","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"4eb83ed629513c99cb8fd157e816af0275110aef"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ickshonpe/bevy_ui_style_builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_ui_style_builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_ui_style_builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_ui_style_builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_ui_style_builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ickshonpe","download_url":"https://codeload.github.com/ickshonpe/bevy_ui_style_builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ickshonpe%2Fbevy_ui_style_builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29367417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-09-27T15:03:30.499Z","updated_at":"2026-02-12T13:39:33.755Z","avatar_url":"https://github.com/ickshonpe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bevy_ui_style_builder\n[![crates.io](https://img.shields.io/crates/v/bevy_ui_style_builder)](https://crates.io/crates/bevy_ui_style_builder)\n[![MIT/Apache 2.0](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](https://github.com/ickshonpe/bevy_ui_style_builder)\n[![crates.io](https://img.shields.io/crates/d/bevy_ui_style_builder)](https://crates.io/crates/bevy_ui_style_builder)\n\nExperimental Bevy UI helper extension methods.\n\nSupports Bevy 0.9\n\n# Usage\n\nAdd the dependency to your project:\n\n```\ncargo add bevy_ui_style_builder\n```\n\nThen the following example draws a red rectangle in the middle of the window:\n\n```rust\nuse bevy::prelude::*;\nuse bevy_ui_style_builder::prelude::*;\n\nfn spawn_example(\n    mut commands: Commands,\n) {\n    commands.spawn(Camera2dBundle::default());\n    commands.spawn(\n        node()\n        .width(Val::Percent(100.0))\n        .height(Val::Percent(100.0))\n        .justify_content_center()\n        .align_items_center()\n    ).with_children(|builder| {\n        builder.spawn(\n            node()\n            .width(Val::Px(150.0))\n            .height(Val::Px(100.0))\n            .background_color(Color::RED)\n        );\n    });\n}\n\nfn main() {\n    App::new()\n        .add_plugins(DefaultPlugins)\n        .add_startup_system(spawn_example)\n        .run();\n}\n```\n\nThere is a larger example based on Bevy's UI example in the examples folder.\nYou can run it with:\n\n```\ncargo run --example ui\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_ui_style_builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fickshonpe%2Fbevy_ui_style_builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fickshonpe%2Fbevy_ui_style_builder/lists"}