@g4sarma while TornadoFX does support FXML, TornadoFX offers an approach that uses builder patterns using pure Kotlin code. The benefit is you get nice nested structures similar to JSON or XML, but it is pure Kotlin code so you can easily inject logic and behaviors which you can only do in FXML to a limited degree.