Crates.io | lemna |
lib.rs | lemna |
version | 0.4.0 |
source | src |
created_at | 2023-03-26 23:22:07.24574 |
updated_at | 2023-07-04 05:38:31.962064 |
description | A Reactive UI framework for Rust |
homepage | |
repository | https://github.com/AlexCharlton/lemna |
max_upload_size | |
id | 821559 |
size | 2,446,749 |
A Reactive UI framework for Rust
Features:
Div
, a scrollable containerButton
, a button that supports tool tipsRadioButtons
, arrays of selectable buttonsToggle
, a simple state-toggling buttonText
, some textTextBox
, a box for entering textCanvas
, for displaying raster images, including drawing to a blank canvasSelection
, a dropdown menuRoundedRect
, a stylable-rectangleWhat's missing:
More robust and more widgets (e.g. text selection support on Text
widget)
Select your preferred windowing backend:
cargo run -p lemna-baseview --example hello
cargo run -p lemna-wx-rs --example hello
cargo run -p lemna-winit --example scroll
See ./backends/**/**examples
for other examples. Note that wx-rs presently has compilation limitations on most platforms, and winit does not handle many events. The Baseview backend is not on cargo (because baseview itself is not) but it is the most functional.