#cross-platform-gui #toolkit #high-speed #api-bindings #close #os

nxui

A cross-platform GUI toolkit in Rust

56 releases (8 breaking)

0.16.25 Apr 5, 2022
0.16.15 Mar 27, 2022

#612 in GUI

Download history 1/week @ 2024-03-11 354/week @ 2024-04-01

157 downloads per month
Used in neh

MIT license

115KB
3K SLoC

NXUI - GUI Toolkit

Crates.io
NXUI is a cross-platform GUI toolkit

Warning

IMPORTANT: Please check the specification changes carefully, as NXUI is currently undergoing a major specification change and there is a high possibility that the program will not be executable when the next version 1.0.0 is released.

What is NXUI?

NXUI is a high-speed, cross-platform GUI toolkit made in Rust language.
NXUI calls APIs close to the OS as much as possible to achieve high speed. Other features of the Rust language are also used to make it cross-platform.

Demo

Windowing Sample

demo.jpg

Widget Sample

demo.jpg

Get Started

Want to try NXUI?
Follow these steps to run the sample!

  1. Clone the repository
git clone https://github.com/LatteSyobon/nxui
cd nxui
  1. Go to the nxui directory
cd nxui
  1. Run the sample
cargo run --example dialog

In addition to the dialog sample, there are other samples such as event_handling

Platforms

NXUI is currently available for the following platforms

  • Windows 7,8,10,11
  • Mac
  • Linux (Window layout only partially implemented)

Crates

NXUI-Core

Crates.io Crates.io
Core part of NXUI
Provides GUI parts such as message boxes

NXUI-build

Crates.io Crates.io
Build scripts for NXUI
Embed information in applications, etc.

How to contribute

1.Fork the repository and make changes
2.Use rustfmt to format your code

cargo fmt

3.Create a pull request

License

NXUI is licensed under the MIT License

Dependencies

~20–34MB
~643K SLoC