KrossUi
1.0indexedStreamlines cross-platform UI development with customizable, production-ready components, enabling consistent design and seamless integration across Android and iOS using a simple API.
Streamlines cross-platform UI development with customizable, production-ready components, enabling consistent design and seamless integration across Android and iOS using a simple API.
KrossUI is a Kotlin Multiplatform UI component library for Compose Multiplatform. You write one Compose API; each platform shows its real native control — Material 3 on Android and UIKit on iOS, including Liquid Glass on iOS 26.
MaterialTheme and Material You, with no setup.commonMain
implementation("io.github.farimarwat:krossui:2.0.0")
| Requirement | Version |
|---|---|
| Kotlin | 2.4+ |
Upgrading from 1.x? Your code keeps compiling — see the migration guide.
import com.farimarwat.krossui.*
var notifications by rememberSaveable { mutableStateOf(true) }
KSwitch(
checked = notifications,
onCheckedChange = { notifications = it },
contentDescription = "Notifications"
)
KButton(text = "Save", onClick = { /* save */ })
Refer to the repo's wiki: one page per component, plus guides for getting started, native look, accessibility and performance.
The demo app (androidApp, iosApp) is a catalog of every component — see
manual testing.
KrossUI is open to contributions! Bug fixes, docs and new components are welcome — see CONTRIBUTING.md.
KrossUI is licensed under the MIT License.
Built with ❤️ by Farimarwat
| Compose Multiplatform | 1.12+ |
| Android | minSdk 24 |
| iOS | iosArm64, iosSimulatorArm64 |
| Component | Description |
|---|
KButton | Filled (primary) button |
KOutlinedButton | Outlined (secondary) button |
KIconButton | Button with an icon and/or title |
KTextField | Text input |
KSecureField | Password input |
KSwitch | On/off switch |
KSlider | Slider with range and steps |
KPicker | Scrollable wheel picker |
KDatePicker | Native date picker (LocalDate) |
KMenu | Popup menu with icon support |
KDialog | Alert / confirmation dialog |
KProgressIndicator | Loading spinner |
KTabBar | Bottom navigation bar |
Surfaced from shared tags and platforms — no rankings paid for.