KADaptiveUI
KAdaptiveUI is a Kotlin Multiplatform library that provides a set of adaptive UI components for Android and iOS using Jetpack Compose and UIKit It helps developers write once and run adaptive UI for both platforms with platform-specific look and feel

KAdmob is available on mavenCentral().
Install
Add dependency to your build.gradle.kts:
implementation("io.github.the-best-is-best:kadaptiveui:1.2.0")
Components
1. AdaptiveCircularProgressIndicator
AdaptiveCircularProgressIndicator()
2. AdaptiveTile
AdaptiveTile(
title = "Settings",
subtitle = "Manage preferences",
leadingIcon = adaptiveIcon,
trailingIcon = adaptiveIcon,
onClick = {}
)
3. AdaptiveAppBar
AdaptiveAppBar(
title = "Home",
actions = listOf(
AdaptiveActionItem("Search", adaptiveIcon) { }
)
)
4. AdaptiveBottomNavBar
AdaptiveBottomNavBar(
items = listOf(
AdaptiveBottomNavItem("Home", adaptiveIcon, true),
AdaptiveBottomNavItem("Profile", adaptiveIcon, false)
),
onItemSelected = { }
)
5. AdaptiveBottomSheet
AdaptiveBottomSheet(
state = rememberAdaptiveSheetState(),
content = { Text("Sheet content") }
)
6. AdaptiveDatePicker
AdaptiveDatePicker(
state = rememberAdaptiveDatePickerState(),
onDateSelected = { date -> }
)
7. AdaptiveDialog
AdaptiveDialog(
onDismissRequest = { },
title = "Confirm",
text = "Are you sure?",
confirmButtonText = "OK",
dismissButtonText = "Cancel",
onConfirm = { }
)
8. AdaptiveIconButton
AdaptiveIconButton(
onClick = {},
adaptiveIcons = adaptiveIcon
)
9. AdaptiveSlider
AdaptiveSlider(
value = 0.5f,
onValueChange = { }
)
10. AdaptiveTextButton
AdaptiveTextButton(
text = "Continue",
onClick = { }
)
11. AdaptiveTimePicker
AdaptiveTimePicker(
state = rememberAdaptiveTimePickerState(),
onTimeSelected = { time -> }
)
12. AdaptiveSwitch
AdaptiveSwitch(
checked = true,
onCheckedChange = { }
)
License
MIT License