
Unified Compose API delivering platform-native UI components with customizable Material and UIKit-backed elements, lightweight interop, extensive styling options, and multiple button variants.
NativeCMP is a Compose Multiplatform component library that provides a unified Compose API for platform-native Android and iOS UI components.
UIKit components (UIButtonConfiguration, etc.) via UIKitView.Add this to your settings.gradle.kts (or root build.gradle.kts):
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}Add this to your common source set in build.gradle.kts:
commonMain.dependencies {
implementation("io.github.waqas028:native-cmp-kit:1.0.0")
}Note: If 1.0.0 doesn't resolve, try using the commit hash or a specific tag.
import io.github.waqas028.nativecmp.NativeButton
@Composable
fun MyScreen() {
NativeButton(
text = "Click Me",
onClick = { /* Handle click */ }
)
}Apache License 2.0
NativeCMP is a Compose Multiplatform component library that provides a unified Compose API for platform-native Android and iOS UI components.
UIKit components (UIButtonConfiguration, etc.) via UIKitView.Add this to your settings.gradle.kts (or root build.gradle.kts):
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}Add this to your common source set in build.gradle.kts:
commonMain.dependencies {
implementation("io.github.waqas028:native-cmp-kit:1.0.0")
}Note: If 1.0.0 doesn't resolve, try using the commit hash or a specific tag.
import io.github.waqas028.nativecmp.NativeButton
@Composable
fun MyScreen() {
NativeButton(
text = "Click Me",
onClick = { /* Handle click */ }
)
}Apache License 2.0