dui 0.1.1

App-kit on top of dew — state helpers and higher-level UI sugar for D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

ifndef::env-github[:icons: font] :toc: preamble

ifdef::env-github[] ++++ <a id="readme-top"></a> <div align="center"> <a href="https://code.dlang.org/packages/dui"><img src="https://img.shields.io/dub/v/dui.svg?style=for-the-badge" alt="Dub version"></a> <a href="https://github.com/dlang-supplemental/dui/blob/main/LICENSE"><img src="https://img.shields.io/github/license/dlang-supplemental/dui.svg?style=for-the-badge" alt="License"></a> <br /> <h3 align="center">dui</h3> <p align="center"> App-kit on top of <a href="https://github.com/dlang-supplemental/dew">dew</a> — state helpers and higher-level UI sugar for D.<br /> Engine slogan: <strong>Dew it!

ifndef::env-github[] = dui

App-kit on top of https://github.com/dlang-supplemental/dew[dew]. Engine slogan: Dew it! endif::[]

== Role split

|=== | Package | Owns

| dew | Layout, DSL/markup, paint, Vello/wgpu, touch/pointer primitives | dui | DuiApp, State!T, rebuild-on-dirty, future gestures / navigation |===

== Quick start

[source,d]

import dui;

void main() {

State!int n = State!int(0);
DuiApp app;
app.bind(n);
app.init((ref UiBuilder ui) {
    return Button("Go").touchFriendly().onClick(() { n.update(v => v + 1); });
}, new SoftwareBackend(640, 400));
app.frame();

}

Engine package is `dew` only (legacy DUB rmgui was removed).

== Roadmap

Engine gaps and shared priorities: link:https://github.com/dlang-supplemental/dew/blob/main/ROADMAP.adoc[dew ROADMAP.adoc].

dui-specific gaps (forms, focus, navigation, gesture layer): link:ROADMAP.adoc[ROADMAP.adoc].

== Changelog

See link:CHANGELOG.adoc[CHANGELOG.adoc].

== License

BSL-1.0

Authors:
  • amdphreak
Dependencies:
dew, tgc
Versions:
0.1.1 2026-Aug-25
0.1.0 2026-Aug-25
~main 2026-Aug-25
Show all 3 versions
Download Stats:
  • 9 downloads today

  • 9 downloads this week

  • 9 downloads this month

  • 9 downloads total

Score:
0.1
Short URL:
dui.dub.pm