How flexible is Theia about custom UI components

Hello all,

just exploring the capabilities of Theia and how we could integrate into it.

To me, it looks like Theia only supports text editors, having a text document presentation. or a tree view, showing a tree structure obviously.
Is there any chance to have an editor/viewer that is composing its own ui components, based on a UI library like React or much better a UI framework like Antd?

[original thread by benjaminr-ps]

See https://github.com/TypeFox/theia-xtext-sprotty-example for an example graphical view/editor
A Theia widget is a DOM element only, so you can use every web framework to impement it. Internally, Theia uses React.

[benjaminr-ps]

Thanks for the fast reply. That sounds really promising. So we can integrate any UI framework to Theia. I only reviewed the TypeScript definition file of Theia Plugin API.