As a hobby project I’m creating a SwiftUI style declarative UI to C++ so I can use it for future tools/projects. Using Swift only locks me in on Apple platform, but by making it cross platform C++ it runs not only on Mac and iOS, but also on Windows, Android and even the web.
In this widget testpage you see SwiftUI counterparts for Border, Stack, List, Circle, Ellipse, RadioGroup, Menu, Button, Slider, Label, Text, TextField etc. But also other things like a percentage box and number input. As for concepts it already has eventbubbling, states, layouting, focus and capture. A lot there but still a huge work in progress… (Sorry for the crazy size of the testpage)