https://kotlinlang.org logo
#compose-web
Title
# compose-web
c

Casey Brooks

08/19/2022, 10:03 PM
I just released another version of Kotlin JSON Forms, which adds support for Compose Web using Bulma form styling! Still very much a POC, nowhere near production ready yet and the UI is terrible, but it’s neat to see it coming together and using the same form definition working for both Android and JS targets, making it significantly less annoying to build large, dynamic forms. Links to some examples in the 🧵
It’s a fan site for a card game I like, and I’m using these forms to track campaign progress and also to create custom cards. The entire site is a Compose Web SPA, with state management and routing provided by ballast (which I also maintain). It’s also a PWA so you can install it on your phone and use it offline, and the service worker is also written using Kotlin/JS
7 Views