
Collection of UI controls: numeric/year inputs, multi-button selects, toggles, collapsibles, compact menus, hover tips and labeled fields, with a built-in theme, host-supplied words and live gallery.
General Compose Multiplatform controls (package plusauri.ui): numeric and year inputs, multi-button selects, toggles, collapsible sections, compact menus, hover cards and tips, focus rings, labeled fields, the Plusauri theme. Targets JVM desktop, wasmJs, iOS and Android.
The kit is on Maven Central, so no account or token is needed:
repositories { mavenCentral() }
kotlin {
sourceSets {
commonMain.dependencies { implementation("com.plusauri:ui-kit:0.7.0") }
}
}A few controls need words they cannot know, such as what the copy button calls itself. The host provides them once, in its own language, through the composition locals in KitWords.kt (LocalCopyWords, LocalYearInputWords, LocalScrollCueWords). Their defaults are blank on purpose, so a host that forgets them shows unnamed controls rather than English in a French window.
The kit depends on Compose and nothing else. A control takes its strings as parameters, or reads a kit word (KitWords.kt) that the host provides once; it never reads a host's string table or model. UiKitBoundaryTest holds that line: kit and gallery sources may import only the kit, Compose, Kotlin and Java, and the build may add no other dependency.
Number entry is en-US for now: NumericInput groups thousands with , and a paste drops , and $.
./gradlew jvmTest compileKotlinWasmJs
That needs only JDK 17 or newer. The full ./gradlew build, and publishToMavenLocal, also need an Android SDK (ANDROID_HOME, or sdk.dir in local.properties), and the iOS targets build only on a Mac with Xcode.
gallery/ is a small app with a page for each family of the main controls, each one live, so the kit can be seen and tried without a host product. Start it with:
./gradlew :gallery:run # desktop
./gradlew :gallery:wasmJsBrowserDevelopmentRun # browser
It depends on the kit and Compose only, and it provides the kit words (KitWords.kt) in English the way a host would. UiKitBoundaryTest holds it to the kit's rule, and GalleryPagesComposeTest opens every page in light and dark, so a page that hands a control arguments it refuses fails in CI. A new control joins its family's page in GalleryPage.kt, or gets a page of its own there. The gallery is never published.
The kit is published to Maven Central as com.plusauri:ui-kit (with ui-kit-jvm, ui-kit-wasm-js, ui-kit-iosarm64, ui-kit-iossimulatorarm64 and ui-kit-android beside it). Reading it needs no account and no token: mavenCentral() is enough.
0.6.0 is the first version on Central.
To release:
version in build.gradle.kts to the new version, in the commit you mean to release. Versions are semver; while it is 0.x, a minor bump may break callers.v<version> and push the tag. .github/workflows/release.yml checks that the tag matches the build, runs the tests, signs every file and uploads to Central.Running the Release workflow by hand (Actions → Release → Run workflow) is a dry run: it uploads to Central only, so the deployment can be checked in the Portal and then dropped.
Releases are signed with the key Plusauri Releases (fingerprint 1D3AD54F1509F3748C778A7937E2D16D15C4D9F8, on keyserver.ubuntu.com).
.github/workflows/ci.yml runs jvmTest and compileKotlinWasmJs on every push and pull request.
MIT; see LICENSE. The bundled flag font, src/jvmMain/resources/font/NotoColorEmojiFlags.ttf, is a subset of Google's Noto Color Emoji holding five flags (US, GB, DE, FR and ES), under the SIL Open Font License 1.1; its notice is OFL.txt beside it.
General Compose Multiplatform controls (package plusauri.ui): numeric and year inputs, multi-button selects, toggles, collapsible sections, compact menus, hover cards and tips, focus rings, labeled fields, the Plusauri theme. Targets JVM desktop, wasmJs, iOS and Android.
The kit is on Maven Central, so no account or token is needed:
repositories { mavenCentral() }
kotlin {
sourceSets {
commonMain.dependencies { implementation("com.plusauri:ui-kit:0.7.0") }
}
}A few controls need words they cannot know, such as what the copy button calls itself. The host provides them once, in its own language, through the composition locals in KitWords.kt (LocalCopyWords, LocalYearInputWords, LocalScrollCueWords). Their defaults are blank on purpose, so a host that forgets them shows unnamed controls rather than English in a French window.
The kit depends on Compose and nothing else. A control takes its strings as parameters, or reads a kit word (KitWords.kt) that the host provides once; it never reads a host's string table or model. UiKitBoundaryTest holds that line: kit and gallery sources may import only the kit, Compose, Kotlin and Java, and the build may add no other dependency.
Number entry is en-US for now: NumericInput groups thousands with , and a paste drops , and $.
./gradlew jvmTest compileKotlinWasmJs
That needs only JDK 17 or newer. The full ./gradlew build, and publishToMavenLocal, also need an Android SDK (ANDROID_HOME, or sdk.dir in local.properties), and the iOS targets build only on a Mac with Xcode.
gallery/ is a small app with a page for each family of the main controls, each one live, so the kit can be seen and tried without a host product. Start it with:
./gradlew :gallery:run # desktop
./gradlew :gallery:wasmJsBrowserDevelopmentRun # browser
It depends on the kit and Compose only, and it provides the kit words (KitWords.kt) in English the way a host would. UiKitBoundaryTest holds it to the kit's rule, and GalleryPagesComposeTest opens every page in light and dark, so a page that hands a control arguments it refuses fails in CI. A new control joins its family's page in GalleryPage.kt, or gets a page of its own there. The gallery is never published.
The kit is published to Maven Central as com.plusauri:ui-kit (with ui-kit-jvm, ui-kit-wasm-js, ui-kit-iosarm64, ui-kit-iossimulatorarm64 and ui-kit-android beside it). Reading it needs no account and no token: mavenCentral() is enough.
0.6.0 is the first version on Central.
To release:
version in build.gradle.kts to the new version, in the commit you mean to release. Versions are semver; while it is 0.x, a minor bump may break callers.v<version> and push the tag. .github/workflows/release.yml checks that the tag matches the build, runs the tests, signs every file and uploads to Central.Running the Release workflow by hand (Actions → Release → Run workflow) is a dry run: it uploads to Central only, so the deployment can be checked in the Portal and then dropped.
Releases are signed with the key Plusauri Releases (fingerprint 1D3AD54F1509F3748C778A7937E2D16D15C4D9F8, on keyserver.ubuntu.com).
.github/workflows/ci.yml runs jvmTest and compileKotlinWasmJs on every push and pull request.
MIT; see LICENSE. The bundled flag font, src/jvmMain/resources/font/NotoColorEmojiFlags.ttf, is a subset of Google's Noto Color Emoji holding five flags (US, GB, DE, FR and ES), under the SIL Open Font License 1.1; its notice is OFL.txt beside it.