#react #style #css #gui-framework #layout #cross-platform-gui

alchemy

A cross-platform GUI framework written in Rust. Adapts to native view-layers on each platform. UIKit/React inspired.

2 unstable releases

0.2.0 Jun 6, 2019
0.1.0 Aug 31, 2017

#1137 in GUI

MPL-2.0+

270KB
5K SLoC

Alchemy Core

This crate implements the core Alchemy application, which is what users ultimately import. Applications are a singleton; some might not like this, but it enables a design pattern that meshes a bit better with existing GUI framework systems and patterns.

The general pattern for developing with Alchemy is as follows:

[Alchemy API] -> [Inner Mutability] -> [Platform Bridge (implemented in other crates)]
    |
    |
    |- [Delegate]

The delegate pattern is cribbed from AppKit/UIKit, where it tends to work quite nicely as a way to respond to system level events.

Questions, Comments?

Open an issue, or hit me up on Twitter.


lib.rs:

Alchemy is a Rust GUI framework that implements the React Component lifecycle on top of a delegate system inspired by those found in AppKit/UIKit. It's backed by native widgets per-platform, but doesn't bind you to any one design style or visual appearance.

CSS support (no cascading) provides a familiar syntax for developers who tend to work on UI/UX projects, and the Component lifecycle is familiar enough to anyone who's touched React.

Dependencies

~3–5.5MB
~102K SLoC