Description
Compose WebView Multiplatform is a Kotlin library that adds a WebView component to JetBrains Compose Multiplatform apps. It can load URLs, HTML content and POST data, and currently targets Android, iOS and desktop. Each platform uses a native engine underneath: the Android version is based on a fork of the Accompanist web module, which was deprecated upstream, iOS uses WKWebView, and desktop uses a JavaFX WebView in older versions. The library exposes a WebView state object that you remember across compositions, with options such as additional HTTP headers, plus a navigator for moving back and forward. The README also covers custom WebView settings, two-way communication between web content and native code, and a request interceptor. It is for Kotlin developers sharing UI across mobile and desktop who need to embed web content.…
Highlights
- WebView for Compose Multiplatform
- Android, iOS and desktop targets
- Loads URLs, HTML and POST data
- State and navigator APIs
- Web-to-native communication
- Request interceptor
Ratings & Reviews
No ratings yet
Be the first to rate Compose Webview Multiplatform.
People also visit
Compose Webview Multiplatform FAQ
What is this library?
A multiplatform version of a Compose WebView, giving JetBrains Compose Multiplatform apps basic WebView features.
Which platforms are supported?
Android, iOS and desktop.
What engines does it use?
A fork of the Accompanist web module on Android, WKWebView on iOS, and JavaFX WebView on desktop in older versions.
I only need Jetpack Compose on Android. Should I use this?
The author points Android-only users to the separate compose-webview repository.
What are the best Compose Webview Multiplatform alternatives?
Popular alternatives to Compose Webview Multiplatform include ComposeViews, KMP Web Wizard and Suwayomi-JUI. See all Compose Webview Multiplatform alternatives

