A cross-platform GUI toolkit in Rust

Related tags

GUI nxui
Overview

NXUI - Native X UI

A cross-platform GUI toolkit in Rust

NXUI is a GUI toolkit that calls OS native APIs as much as possible to achieve fast operation.
It also aims to make it easy to customize windows (e.g. Client Side Decoration).

Click here for samples.

How cross-platform is it?

Stable: All functions of nxui are available.
Normal: You can use the nxui functions reasonably well.
Beta: Inability to use nxui functions at all or only a little  

Windows MacOS Linux
Status Stable Beta Stable
Version 0.0.1 ~ Latest Version N/A 0.0.5 ~ Latest Version

Learn more about goals.

If you'd like to know a little more about the goals of NXUI, take a look at this section.
If you don't want to see that, jump to the next section from here.
As mentioned above, NXUI is a GUI toolkit made by Rust that calls the native API as much as possible and aims for fast operation.
It also features cross-platform operation.
Cross-platform here means that if you just want to display a window or something without doing any special processing, you can use this library alone (you don't need to change the GUI behavior using #cfg attributes, etc.).

For this purpose, we use the #cfg attribute in the library part to optimize the GUI processing for the OS. Also, the effect of this is that you don't really need to use the #cfg attribute in the part that uses the library.
You did it! 😊

Crates

NXUI-Core

Core part of the XUI GUI toolkit
Crates.io Crates.io Crates.io

How to Build

Basically, you should be able to build it in the following way

git clone https://github.com/LatteSyobon/nxui
cd nxui
cargo build

However, on Linux, you need to have downloaded gtk3
If you have any problems with the build, please report them here.

Note

Currently, there is a problem with garbled text in the debug build when displaying dialogs.
This problem can be solved by making it a release build.

Thanks

We are using windows-rs as a native call to develop NXUI for Windows.
We also use gtk-rs on Linux.

LICENSE

NXUI is licensed under the MIT License

You might also like...
A lightweight cross-platform system-monitoring fltk gui application based on sysinfo
A lightweight cross-platform system-monitoring fltk gui application based on sysinfo

Sysinfo-gui A lightweight cross-platform system-monitoring fltk gui application based on sysinfo. The UI design is inspired by stacer. The svg icons a

A light windows GUI toolkit for rust

Native Windows GUI Welcome to Native Windows GUI (aka NWG). A rust library to develop native GUI applications on the desktop for Microsoft Windows. NW

Cross-platform native Rust menu library

A cross-platform Rust library for managing the native operating system menus.

A cross-platform Mod Manager for RimWorld intended to work with macOS, linux and Windows

TODOs are available here. Discussions, PRs and Issues are open for anyone who is willing to contribute. rrm Inspired by Spoons rmm. This is a cross-pl

A data-first Rust-native UI design toolkit.
A data-first Rust-native UI design toolkit.

Druid A data-first Rust-native UI toolkit. Druid is an experimental Rust-native UI toolkit. Its main goal is to offer a polished user experience. Ther

The Rust UI-Toolkit.
The Rust UI-Toolkit.

The Orbital Widget Toolkit is a cross-platform (G)UI toolkit for building scalable user interfaces with the programming language Rust. It's based on t

SixtyFPS is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript.
SixtyFPS is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript.

SixtyFPS is a toolkit to efficiently develop fluid graphical user interfaces for any display: embedded devices and desktop applications. We support multiple programming languages, such as Rust, C++ or JavaScript.

Modular FFXIV data toolkit written in rust.
Modular FFXIV data toolkit written in rust.

ironworks Modular FFXIV data toolkit written in rust. ironworks is pre-1.0, and as such its API should be considered unstable. Breaking API changes wi

A graphical user interface toolkit for audio plugins.

HexoTK - A graphic user interface toolkit for audio plugins State of Development Super early! Building cargo run --example demo TODO / Features Every

Releases(0.16.25)
Owner
らて
趣味でプログラミングをしています。 最近はRustをさわっています。
らて
Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.

libui: a portable GUI library for C This README is being written. Status It has come to my attention that I have not been particularly clear about how

Pietro Gagliardi 10.4k Dec 31, 2022
Rust bindings to the minimalist, native, cross-platform UI toolkit `libui`

Improved User Interface A cross-platform UI toolkit for Rust based on libui iui: ui-sys: iui is a simple (about 4 kLOC of Rust), small (about 800kb, i

Rust Native UI Group 865 Dec 27, 2022
A Rust binding of the wxWidgets cross platform toolkit.

wxRust master: / mac(0.10): This is a Rust binding for the wxWidgets cross platform toolkit. API wxRust API documentation How it works The wxRust libr

KENZ 129 Jan 4, 2023
A simple, cross-platform GUI automation module for Rust.

AutoPilot AutoPilot is a Rust port of the Python C extension AutoPy, a simple, cross-platform GUI automation library for Python. For more information,

null 271 Dec 27, 2022
A cross-platform GUI library for Rust, inspired by Elm

Iced A cross-platform GUI library for Rust focused on simplicity and type-safety. Inspired by Elm. Features Simple, easy-to-use, batteries-included AP

Héctor Ramón 17.5k Jan 2, 2023
Truly cross platform, truly native. multiple backend GUI for rust

WIP: Sauron-native a rust UI library that conquers all platforms ranging from desktop to mobile devices. An attempt to create a truly native, truly cr

Jovansonlee Cesar 627 Jan 5, 2023
A cross-platform GUI library for Rust focused on simplicity and type-safety

A cross-platform GUI library for Rust, inspired by Elm

Héctor Ramón 17.5k Jan 8, 2023
A cross-platform GUI library for Rust, inspired by Elm

Iced A cross-platform GUI library for Rust focused on simplicity and type-safety. Inspired by Elm. Features Simple, easy-to-use, batteries-included AP

null 17.5k Dec 28, 2022
rsautogui aims to be a cross-platform GUI automation rust crate.

rsautogui rsautogui aims to be a cross-platform GUI automation rust crate. It lets you control the mouse and keyboard to automate interactions with ot

null 5 Sep 18, 2022
A single-header ANSI C immediate mode cross-platform GUI library

Nuklear This is a minimal-state, immediate-mode graphical user interface toolkit written in ANSI C and licensed under public domain. It was designed a

Immediate Mode UIs, Nuklear, etc. 6.9k Jan 8, 2023