3 releases
0.1.2 | Sep 16, 2023 |
---|---|
0.1.1 | Aug 27, 2023 |
0.1.0 | Aug 16, 2023 |
#1574 in GUI
169 downloads per month
Used in freya-layout
335KB
8K
SLoC
Freya ๐ฆ
Website | Nightly Docs | Stable Docs | Book | Discord
Freya is a native GUI library for Rust powered by ๐งฌ Dioxus and ๐จ Skia.
โ ๏ธ It's currently work in progress and not usable for production, but you can already play with it! You can join the Discord server if you have any question or issue.
|
|
Want to try it? ๐ค
โ ๏ธ First, see Environment setup.
Clone this repo and run:
cargo run --example counter
You can also try freya-template
Usage ๐
Add Freya and Dioxus as dependencies:
freya = "0.1"
dioxus = { version = "0.4", features = ["macro", "hooks"] }
Features โจ
- โ๏ธ Built-in components (button, scroll views, switch and more)
- ๐ Built-in hooks library (animations, text editing and more)
- ๐ Built-in devtools panel (experimental โ ๏ธ) (experimental โ ๏ธ)
- ๐งฐ Built-in headless testing runner for components
- ๐จ Theming support (not extensible yet โ ๏ธ)
- ๐ฉ๏ธ Cross-platform (Windows, Linux, MacOS)
- ๐ผ๏ธ SKSL Shaders support
- ๐๏ธ Dioxus Hot-reload support
- ๐ Multi-line text editing (experimental โ ๏ธ)
- ๐ฆพ Basic Accessibility Support (experimental โ ๏ธ)
- ๐งฉCompatible with dioxus-std and other Dioxus renderer-agnostic libraries
Goals ๐
- Performant and low memory usage
- Good developer experience
- Cross-platform support
- Decent Accessibility support
- Useful testing APIs
- Useful and extensible components and hooks
Status โ
You can see the tracking issue to know what features are implemented and which ones are not, yet.
Dependencies
~14โ52MB
~779K SLoC