In KMP, you share common Kotlin logic/code between the platforms. You still have UI and other software entities in the platform language, and use Kotlin code in a form of compiled library that each platform support.
Compose-mp, kinda similar, you can do the same as above but it comes with a set of predefined platform bindings already compiled for you, and the most important, compose, which will do the ui for all the platforms