{"id":19879781,"url":"https://github.com/dylanblokhuis/tpaint","last_synced_at":"2025-10-29T20:40:23.158Z","repository":{"id":190210506,"uuid":"681807961","full_name":"dylanblokhuis/tpaint","owner":"dylanblokhuis","description":"Build a native GUI with Dioxus on whatever platform that can render triangles","archived":false,"fork":false,"pushed_at":"2024-02-11T12:14:38.000Z","size":791,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T13:45:36.829Z","etag":null,"topics":["dioxus","gui","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/dylanblokhuis.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}},"created_at":"2023-08-22T19:54:17.000Z","updated_at":"2024-06-17T05:40:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"31bac757-40a3-47fd-91a9-96891caa26a6","html_url":"https://github.com/dylanblokhuis/tpaint","commit_stats":null,"previous_names":["dylanblokhuis/tpaint"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dylanblokhuis/tpaint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Ftpaint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Ftpaint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Ftpaint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Ftpaint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanblokhuis","download_url":"https://codeload.github.com/dylanblokhuis/tpaint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Ftpaint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272013777,"owners_count":24858522,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dioxus","gui","rust"],"created_at":"2024-11-12T17:09:24.670Z","updated_at":"2025-10-29T20:40:18.139Z","avatar_url":"https://github.com/dylanblokhuis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tpaint\nCompose your UI with Dioxus (React-inspired) and Tailwind ergonomics and bring your own rendering backend to paint the triangles to the screen.\n\n### Currently supports:\n\n- Background color\n- Border\n- Border Radius\n- Text\n- Text color\n- Hot reloading, use the ``hot-reload`` feature\n- Scrolling\n- Async images and vector graphics through ``Image`` component, with ``src`` attribute.\n- Grid and flexbox (through Taffy)\n- Text selection\n- Cursors with e.g. ``cursor-progress``\n- Input field\n- Custom fonts\n\n### Examples\ntpaint uses egui's rasterization backend, so adding your backend is trivial!\n\nCurrent examples include:\n\n- glow (OpenGL)\n- wgpu\n\n\n### Element\n``view`` is the only element you can compose your UI's with, it supports various events:\n\n- onfocus\n- onblur\n- ondrag\n- oninput\n- onkeydown\n- onkeyup\n- onclick\n- onmousemove\n- onlayout (``whenever the layout engine has re-calculated the layout``)\n- onselect\n\n\n```rust\nview {\n    class: \"h-40 p-10 bg-red-900 text-white\",\n    onclick: move |_| {\n        println!(\"Clicked\");\n    },\n    \"I am a button\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanblokhuis%2Ftpaint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanblokhuis%2Ftpaint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanblokhuis%2Ftpaint/lists"}