Beta Tech

05/02/2023, 7:15 PM
Hi all, How can I use WebView for Compose MultiPlatform Desktop ?

Nikita Lipsky

05/02/2023, 7:28 PM
There is no standard component for WebView in Compose Multiplatform. Though there are a plenty of alternatives in Java for WebView (like JavaFX WebView) that you can embed into Compose using Compose Swing interop (


05/03/2023, 9:01 AM
You can also experiment with CEF, using its Swing component. See here to learn more about that and how to deploy: The primary limitation to be aware of when doing stuff like that is z-ordering. Overlapping stuff with the browser won't work and that includes things like context menus, dropdowns etc. So you have to design your UI with it in mind.