Unlock Multiplatform: Port your Compose Design System to Web
summary
Shows how a real Android design system (700k LOC, 500 modules, 25 engineers, 2.7M users) becomes runnable on web by converting an Android library to Kotlin Multiplatform, adding a wasm browser target, and commonizing colors, typography and components with expect/actual shims. Replaces Android-only assets with Compose Resources and swaps Lottie for a multiplatform animation library, publishes a component playground gallery via GitHub Actions -> Pages, and warns about a 10–20MB asset bloat and straightforward fixes. Gallery buildable in an afternoon.
AI-written summary · about
chapters (20)
- 0:00Introduction and motivation
- 3:34Why port design system to web
- 4:15What is Compose Multiplatform
- 7:30Multiplatform setup steps
- 8:16Live demo project overview
- 11:23Updating build configuration
- 13:18Adding web target and gallery
- 14:23Commonizing foundational code
- 15:27Handling platform-specific APIs
- 17:13Commonizing components
- 19:03Working with resources
- 22:56Replacing Android-only libraries
- 23:59Finalizing multiplatform design
- 24:21Building the web gallery
- 26:09Alternative tools like Storytell
- 27:12Common challenges and solutions
- 31:45Tips for incremental migration
- 32:27Versioning and testing
- 33:29Expanding to other platforms
- 34:10Summary and closing
