A reusable Compose Multiplatform UI library and showcase for Android, iOS, desktop, and web.
Composable collects polished UI components that solve practical interface
problems. The components live in the publishable :ui library, while
:composeApp presents them as a responsive object book. Components are grouped
into full-screen chapters that scroll vertically, with horizontal browsing
inside each chapter and continuous previous/next navigation in detail views.
After the first Maven Central release, add the library to commonMain:
kotlin {
sourceSets {
commonMain.dependencies {
implementation("com.ckgin:composable-ui:0.1.0")
}
}
}Components use regular Compose APIs and can be called directly:
import com.ckgin.composable.component.acc.TypingText
TypingText(text = "Compose once, use everywhere")- Android
- iOS device and simulator
- Desktop JVM
- Web (Wasm)
| Module | Purpose |
|---|---|
:ui |
Publishable KMP/CMP component library and shared resources |
:composeApp |
Multiplatform component catalog and platform demos |
:core |
Existing Android support module |
Reusable source is under
ui/src/commonMain/kotlin/com/ckgin/composable/component. The showcase
consumes :ui as a normal project dependency, which keeps the local demo on the
same API that library users receive.
./gradlew :composeApp:compileDebugKotlinAndroid
./gradlew :composeApp:compileKotlinIosSimulatorArm64
./gradlew :composeApp:run
./gradlew :composeApp:wasmJsBrowserDevelopmentRunThe :ui module is configured with the Vanniktech Maven Publish plugin and the
coordinates com.ckgin:composable-ui:0.1.0.
Before publishing, create a Central Portal account, verify the com.ckgin
namespace, and provide these Gradle properties outside the repository:
mavenCentralUsername=your-token-username
mavenCentralPassword=your-token-password
signingInMemoryKey=your-armored-gpg-private-key
signingInMemoryKeyPassword=your-gpg-passwordThey can also be supplied as ORG_GRADLE_PROJECT_... environment variables.
Never commit credentials or signing keys.
Publish with:
./gradlew :ui:publishToMavenCentralSee the Central Portal registration guide and publishing plugin guide for account, namespace, and GPG setup.
Components must be visually polished, useful in real applications, reusable, accessible, responsive, and compatible with every supported target. Read CONTRIBUTING.md before opening a pull request.
Composable is available under the MIT License.
