WeaveUI

WeaveUI for Mora.

WeaveUI (Weave UI) is a native Windows UI framework. Write a view in a .mr file and compile it to a native Windows executable. WeaveUI handles layout and keyboard focus without a WebView.

Try a panel

A browser simulation beside the actual Mora source. The compiled app uses Win32 controls.

Counter

Total
0
examples/counter.mr
import "../src/panel.mr"

fn main() {
    counter("Counter", "Total", "Tambah 1", "Reset", 99999999)
}

Release review queue

Move between checks, approve them individually, and track the release as a whole. This browser simulation mirrors the native Mora example. State lasts until you reload.

Release review

0 / 3 approved

Keyboard navigation

Needs review

examples/review.mr
var page = column()
page.heading("Release review")
let actions = page.buttons("Next item", "Toggle approval")
let home = page.button("First item")
Build and customize the native example

Edit the review labels in examples/review.mr. Change ui_style for surface, text color and font sizes. Windows still draws the buttons. No account or backend is needed.

.\build.ps1 -Example Review
.\build\WeaveUIReview.exe
Read the complete Mora example

Build on Windows

From a WeaveUI checkout, with MinGW-w64 GCC and stock Mora 0.4.1 on your PATH, run:

.\build.ps1 -Mora mora -StandardArena
.\build\WeaveUICounter.exe

For the lower-memory build, use the small-arena toolchain instructions. Repository links require access to the private project.