{"id":13502871,"url":"https://github.com/marc2332/freya","last_synced_at":"2026-03-05T23:54:29.873Z","repository":{"id":59212212,"uuid":"518513704","full_name":"marc2332/freya","owner":"marc2332","description":"Cross-platform GUI library for 🦀 Rust  powered by 🧬 Dioxus and 🎨 Skia.","archived":false,"fork":false,"pushed_at":"2025-04-26T19:12:33.000Z","size":9962,"stargazers_count":1837,"open_issues_count":71,"forks_count":73,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-04-27T03:56:48.234Z","etag":null,"topics":["cross-platform","dioxus","gui","hacktoberfest","rust","skia"],"latest_commit_sha":null,"homepage":"https://freyaui.dev/","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/marc2332.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["marc2332"],"custom":["https://www.paypal.com/paypalme/mkenzo8"]}},"created_at":"2022-07-27T15:28:11.000Z","updated_at":"2025-04-26T23:26:59.000Z","dependencies_parsed_at":"2023-09-26T02:19:43.191Z","dependency_job_id":"6e72ba15-e1a0-4ef6-bd35-4f39d8e5d507","html_url":"https://github.com/marc2332/freya","commit_stats":{"total_commits":434,"total_committers":5,"mean_commits":86.8,"dds":"0.027649769585253448","last_synced_commit":"45242c08fb94c4d406268ab976080c991bd113bf"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marc2332%2Ffreya","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marc2332%2Ffreya/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marc2332%2Ffreya/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marc2332%2Ffreya/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marc2332","download_url":"https://codeload.github.com/marc2332/freya/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251085194,"owners_count":21533841,"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":["cross-platform","dioxus","gui","hacktoberfest","rust","skia"],"created_at":"2024-07-31T22:02:27.846Z","updated_at":"2026-03-05T23:54:29.799Z","avatar_url":"https://github.com/marc2332.png","language":"Rust","readme":"# Freya 🦀\n\n\u003ca href=\"https://freyaui.dev/\"\u003e\u003cimg align=\"right\" src=\"logo.svg\" alt=\"Freya logo\" width=\"150\"/\u003e\u003c/a\u003e\n\n[![Discord Server](https://img.shields.io/discord/1015005816094478347.svg?logo=discord\u0026style=flat-square)](https://discord.gg/sYejxCdewG)\n[![Github Sponsors](https://img.shields.io/github/sponsors/marc2332?style=social)](https://github.com/sponsors/marc2332)\n[![codecov](https://codecov.io/github/marc2332/freya/branch/main/graph/badge.svg?token=APSGEC84B8)](https://codecov.io/github/marc2332/freya)\n\n[Website](https://freyaui.dev) | [Nightly Docs](https://docs.freyaui.dev/freya) | [Stable Docs](https://docs.rs/freya/latest/freya) | [Book](https://book.freyaui.dev) | [Discord](https://discord.gg/sYejxCdewG)\n\n**Freya** is a cross-platform GUI library for Rust powered by 🧬 [Dioxus](https://dioxuslabs.com) and 🎨 [Skia](https://skia.org/). \n\n**It does not use any web tech**, check the [Differences with Dioxus](https://book.freyaui.dev/differences_with_dioxus.html). \n\n⚠️ It's currently work in progress, but you can already play with it! You can join the [Discord](https://discord.gg/sYejxCdewG) server if you have any question or issue. \n\n\u003cbr/\u003e\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd style=\"border:hidden;\"\u003e\n\n```rust\nfn app() -\u003e Element {\n    let mut count = use_signal(|| 0);\n\n    rsx!(\n        rect {\n            height: \"50%\",\n            width: \"100%\",\n            main_align: \"center\",\n            cross_align: \"center\",\n            background: \"rgb(0, 119, 182)\",\n            color: \"white\",\n            shadow: \"0 4 20 5 rgb(0, 0, 0, 80)\",\n            label {\n                font_size: \"75\",\n                font_weight: \"bold\",\n                \"{count}\"\n            }\n        }\n        rect {\n            height: \"50%\",\n            width: \"100%\",\n            main_align: \"center\",\n            cross_align: \"center\",\n            direction: \"horizontal\",\n            Button {\n                onclick: move |_| count += 1,\n                label { \"Increase\" }\n            }\n            Button {\n                onclick: move |_| count -= 1,\n                label { \"Decrease\" }\n            }\n        }\n    )\n}\n```\n\u003c/td\u003e\n\u003ctd style=\"border:hidden;\"\u003e\n\n![Freya Demo](https://github.com/marc2332/freya/assets/38158676/f81a95a2-7add-4dbe-9820-3d3b6b42f6e5)\n\n\u003c/td\u003e\n\u003c/table\u003e\n\n### Want to try it? 🤔\n\n👋 Make sure to check the [Setup guide](https://book.freyaui.dev/setup.html) first.\n\n\u003e ⚠️ If you happen to be on Windows using `windows-gnu` and get compile errors, maybe go check this [issue](https://github.com/marc2332/freya/issues/794).\n\nClone this repo and run:\n\n```shell\ncargo run --example counter\n```\n\nYou can also try [`freya-template`](https://github.com/marc2332/freya-template)\n\n### Usage 📜\nAdd Freya and Dioxus as dependencies:\n\n```toml\nfreya = \"0.2\"\ndioxus = { version = \"0.5\", features = [\"macro\", \"hooks\"], default-features = false }\n```\n### Contributing 🧙‍♂️\n\nIf you are interested in contributing please make sure to have read the [Contributing](CONTRIBUTING.md) guide first!\n\n### Features ✨\n- ⛏️ Built-in **components** (button, scroll views, switch and more) \n- 🚇 Built-in **hooks** (animations, text editing and more)\n- 🔍 Built-in **developer tools** (tree inspection, fps overlay)\n- 🧰 Built-in **headless runner** to test UI\n- 🎨 **Theming** support\n- 🛩️ **Cross-platform** (Windows, Linux, MacOS)\n- 🖼️ SKSL **Shaders** support\n- 📒 Multi-line **text editing**\n- 🦾 **Accessibility** support\n- 🧩 Compatible with dioxus-sdk and other Dioxus renderer-agnostic libraries\n\n### Goals 😁\n- Performant and low memory usage\n- Good developer experience\n- Cross-platform support\n- Decent Accessibility support \n- Useful testing APIs\n- Useful and extensible built-in components and hooks\n\n### Support 🤗\n\nIf you are interested in supporting the development of this project feel free to donate to my [Github Sponsor](https://github.com/sponsors/marc2332/) page.\n\nThanks to my sponsors for supporting this project! 😄 \n\n\u003c!-- sponsors --\u003e\u003ca href=\"https://github.com/piny4man\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;piny4man.png\" width=\"60px\" alt=\"User avatar: \" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/gqf2008\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;gqf2008.png\" width=\"60px\" alt=\"User avatar: 高庆丰\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/lino-levan\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;lino-levan.png\" width=\"60px\" alt=\"User avatar: Lino Le Van\" /\u003e\u003c/a\u003e\u003c!-- sponsors --\u003e\n\n### Special thanks 💪\n\n- [Jonathan Kelley](https://github.com/jkelleyrtp) and [Evan Almloff](https://github.com/ealmloff) for making [Dioxus](https://dioxuslabs.com/) and all their help, specially when I was still creating Freya.\n- [Armin](https://github.com/pragmatrix) for making [rust-skia](https://github.com/rust-skia/rust-skia/) and all his help and making the favor of hosting prebuilt binaries of skia for the combo of features use by Freya.\n- [geom3trik](https://github.com/geom3trik) for helping me figure out how to add incremental rendering.\n- [Tropical](https://github.com/Tropix126) for this contributions to improving accessibility and rendering.\n- [Aiving](https://github.com/Aiving) for having made heavy contributions to [rust-skia](https://github.com/rust-skia/rust-skia/) for better SVG support, and helped optimizing images rendering in Freya.\n- [RobertasJ](https://github.com/RobertasJ) for having added nested parenthesis to the `calc()` function and also pushed for improvements in the animation APIs.\n- And to the rest of contributors and anybody who gave me any kind of feedback!\n\n### 🤠 Projects\n\n[Valin](https://github.com/marc2332/valin) ⚒️ is a Work-In-Progress cross-platform code editor, made with Freya 🦀 and Rust, by me.\n\n![Valin](https://github.com/marc2332/valin/raw/main/demo.png)\n\n[MIT License](./LICENSE.md)\n","funding_links":["https://github.com/sponsors/marc2332","https://www.paypal.com/paypalme/mkenzo8","https://github.com/sponsors/marc2332/"],"categories":["Rust","GUI","rust","\u003ca name=\"Rust\"\u003e\u003c/a\u003eRust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarc2332%2Ffreya","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarc2332%2Ffreya","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarc2332%2Ffreya/lists"}