A UI frame work for the V language based on the rendering algorithm of Clay.
It’s early days so little is working. Try it and send feedback.
- Pure V
- Immediate mode rendering
- Thread safe view updates
- Declarative, flex-box style layout syntax

GUI is a flex-box style UI framework written in V, with declarative syntax and performance. It aspires to be a useful framework with a short a learning curve.
Let V do it for you!
The README.md in the examples folder describes how to build GUI programs. Don’t fret, it’s a one-liner.
If you’re new to GUI, start with the get-started.v example. It explains the basics of view generators, state models and event handling. Some of the other examples like two-panel.v and test-layout.v were used to test the layout engine during development and are not meant as examples of how to write an app (they’re fun to run however).
The Makefile at the root of the project builds documentation from the source code. Type make doc to produce the documention and make read to open the documention in the browser. make doc incorporates the hand written documentation below making it a handy one-stop page.
There is also some hand written documentation in the /doc folder labled 01 Introduction.md, 02 Getting Started.md, etc. The doc_viewer.v example can be used to read them or use a browser. It’s a work in progress.
I plan to create a capable, robust and fairly complete UI framework. As to timelines, who knows. I’m making this up as I go along. Currently, this is the only project I’m working on, so expect frequent updates.
Current state of the project can be found at: Progress Reports and Feedback