I created an example of using Kotlin Compose Multiplatform to show state management in the UI combined with KFSM but simulating a traffic intersection.
https://github.com/open-jumpco/kfsm-mpp-compose-traffic
https://github.com/open-jumpco/kfsm-mpp-compose-traffic