This is a Kotlin Multiplatform project targeting Android, iOS, Web.
Compose Multiplatform let us share compose components between mutliples targets such as Android, iOS, Desktop, etc... The new target WASM allow us to now share our component to the web!
Composebook is a proof of concept that show how you can use Compose multiplatform to create a shared component library for Android and iOS while letting you share this library to our beloved designers, colleagues etc with just a link. Removing the need to install an app to see those components! A bit like a storybook for native app 🙌
https://gosunet.github.io/composebook/
Clone the project
You can open the web application by running the :composeApp:wasmJsBrowserDevelopmentRun
Gradle task.
- Create an Android virtual device.
- In the list of run configurations, select composeApp.
- Choose your Android virtual device and click Run.
- Launch Xcode in a separate window. The first time, you may also need to accept its license terms and allow it to perform some necessary initial tasks.
- In the list of run configurations, select iosApp and click Run.
- If you don't have an available iOS configuration in the list, add a new iOS simulated device.
Contributions are always welcome!
Learn more about Kotlin Multiplatform, Compose Multiplatform, Kotlin/Wasm…