NuiCppNuiCppOfficialยท1 Agent Skills Included

Nui

Build C++ desktop interfaces with webview and reactive state

Builds cross-platform C++ desktop user interfaces using a browser window tied to a native backend. Provides JSX-like C++ syntax, reactive state, event handling, and JavaScript interop without writing frontend JavaScript. Guides correct component patterns, range rendering, and state updates to avoid compile errors and broken UI behavior.
npx skills add NuiCpp/Nui --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Nui?โ–ผ

Run `npx skills add NuiCpp/Nui --all -g -y` in your terminal to install the skill globally. The library itself is integrated via CMake as described in the official documentation.

What is Nui used for?โ–ผ

Nui is a C++ library for building desktop user interfaces inside a webview window, letting you write frontend UI entirely in C++ compiled to WebAssembly.

How do I write reactive UI in Nui?โ–ผ

Use Nui::Observed values for state and bind them to elements with Nui::observe or Nui::range; the skill teaches the exact syntax and mutation rules to keep the UI updating correctly.

Which platforms does Nui support?โ–ผ

Nui is tested on Ubuntu, Windows, and macOS with modern C++20 compilers. Mobile platforms and BSD systems are not supported.

Can I call JavaScript from Nui C++ code?โ–ผ

Yes. Nui exposes emscripten::val for direct JavaScript interop, plus convertToVal and convertFromVal helpers to pass structured C++ data to and from JS.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’