Skip to content

dxui v0.0.1

Choose a tag to compare

@wat4r wat4r released this 16 Sep 06:21
· 15 commits to main since this release

The first early preview of dxui—a declarative desktop GUI framework for Go, featuring typed components, application-owned state, and customizable themes.

Features

  • Declarative API — Compose interfaces with Go functions, typed props, callbacks, and keyed component identity.
  • Build without cgo — Framework and application builds support CGO_ENABLED=0. Requires Go 1.25 or newer.
  • On-demand rendering — An event- and deadline-driven UI loop waits when idle, without fixed-rate refreshes.
  • Layout and scrolling — Horizontal and vertical layouts, absolute positioning, scroll containers, and fixed-height virtual lists.
  • Everyday components — Buttons, inputs, text areas, selects, checkboxes, radio buttons, switches, sliders, menus, tabs, popovers, tooltips, and progress indicators.
  • Themes and styling — Runtime light/dark switching, typed theme tokens, borders, rounded corners, shadows, and interaction states.
  • Text and resources — Pure-Go text and image processing, plus individually linkable Lucide icons.
  • Multiple windows — A main window and independent native child windows managed within one application lifecycle.

Examples

Includes an interactive component catalog, login form, calculator, multi-window demo, 100,000-row virtual list, and galleries for icons, layout, styling, and text.

Run the component catalog from a source checkout:

go run ./examples/components

Known Limitations

  • This is an early preview. Complete platform interaction checks, release-candidate performance measurements, and packaging verification remain open.
  • Layout does not support flex wrapping or Grid. Virtual lists support vertical, fixed-height rows only.
  • Text does not yet support complex shaping, bidirectional text, color emoji, or grapheme-aware editing.
  • Accessibility and screen-reader integration are not implemented.
  • IME, clipboard, cross-display DPI changes, and multi-window interactions still require complete platform validation. Successful compilation does not establish native runtime support.

License

MIT. Bundled dependencies and assets retain their respective licenses.