This seems to be much nicer than ncurses, since it's a declarative interface rather than an imperative one. Outside of Flexbox, there's nothing HMTL-specific in the API. An XML-like syntax is used because UI on most platforms is conceived as an ordered tree structure, such as Windows (XAML), Apple (XIB), Android, and Web (HTML).
The built-in components are all conceived as TTY-native ideas, not as HTML concepts:
Html is not really based on xml, historically its more like the other way around, xml was inspired by html(/sgml). Xhtml was distinct dead-end evolutionary branch
It is true I do not care for xml, html, xhtml or sgml. And the one thing that was decent about sgml, dsssl, we threw away. I do not care for the box model of HTML and would prefer for a segmented flow model so I can easily reason about pages as being... well... pages. I have no problem with declarative layout or semantic documents, but dislike frameworks that conflate the two.
But... clearly... if you like react on HTML and want to have browser-like rendering of text on your terminal than more power to you. I'll go off now and build something that demonstrates my concerns. Thx for not severely down-voting my comment before I could begin to clarify...