
Cross-platform UI framework inspired by Solid.js, leveraging native view components for fine-grained reactivity, smaller binary sizes, semantic theming, and seamless web integration with URL-based navigation.
A Kotlin Multiplatform UI framework with fine-grained reactivity (in the style of Solid.js) that renders with each platform's native views: the DOM on the web, View on Android, UIView on iOS, and Compose on desktop.
@Routable("counter")
object CounterPage : Page {
override fun ElementWriter.CanAddTheme.render() {
val count = Signal(0)
val name = Signal("")
col {
h1("Counter")
text { ::content { "Clicked ${count()} times" } }
important.button {
text("Click me")
onClick { count.value++ }
}
textInput {
hint = "Your name"
keyboardHints = KeyboardHints.title
content bind name
}
shownWhen { name().isNotBlank() }.text { ::content { "Hello, ${name()}!" } }
}
}
}render() runs once. Afterwards only the ::content { } and shownWhen { } blocks rerun, and only when a signal they read changes.
@Routable("users/{id}") makes a page deep-linkable on the web.Also: loading and error states flow from data to the views that show it without extra code, and themes are semantic (important, danger, card) rather than per-view styling.
// settings.gradle.kts: in both pluginManagement { } and dependencyResolutionManagement { }
repositories {
maven("https://lightningkite-maven.s3.us-west-2.amazonaws.com")
mavenCentral()
}
// build.gradle.kts
plugins {
id("com.lightningkite.kiteui") version "<version>" // generates routes, bundles resources
}
kiteui {
packageName = "com.example.myapp" // package of the generated AutoRoutes and Resources
}
kotlin {
sourceSets.commonMain.dependencies {
api("com.lightningkite.kiteui:library:<version>")
}
}See Getting started for the per-platform entry points.
| Module | What it is |
|---|---|
library |
The framework: web, Android, iOS, and JVM (experimental server-side rendering) |
library-compose |
Desktop target, rendering through Compose Multiplatform |
library-camera, library-camera-compose
|
Camera preview and barcode scanning |
library-lottie, library-lottie-compose
|
Lottie animations |
library-map |
MapLibre maps |
test-utilities |
UI test helpers for every platform (Testing) |
gradle-plugin |
The com.lightningkite.kiteui plugin: route generation and resources |
ai-driver-server |
Relay that lets a CLI or test drive a running app (AI driver) |
example-app/.A login screen from the example app in two themes (live, source):
In production across many Lightning Kite projects. The API is not frozen; breaking changes come with deprecations and notes in the CHANGELOG. Server-side rendering (jvmSsr) is experimental, and there is no WASM target.
A Kotlin Multiplatform UI framework with fine-grained reactivity (in the style of Solid.js) that renders with each platform's native views: the DOM on the web, View on Android, UIView on iOS, and Compose on desktop.
@Routable("counter")
object CounterPage : Page {
override fun ElementWriter.CanAddTheme.render() {
val count = Signal(0)
val name = Signal("")
col {
h1("Counter")
text { ::content { "Clicked ${count()} times" } }
important.button {
text("Click me")
onClick { count.value++ }
}
textInput {
hint = "Your name"
keyboardHints = KeyboardHints.title
content bind name
}
shownWhen { name().isNotBlank() }.text { ::content { "Hello, ${name()}!" } }
}
}
}render() runs once. Afterwards only the ::content { } and shownWhen { } blocks rerun, and only when a signal they read changes.
@Routable("users/{id}") makes a page deep-linkable on the web.Also: loading and error states flow from data to the views that show it without extra code, and themes are semantic (important, danger, card) rather than per-view styling.
// settings.gradle.kts: in both pluginManagement { } and dependencyResolutionManagement { }
repositories {
maven("https://lightningkite-maven.s3.us-west-2.amazonaws.com")
mavenCentral()
}
// build.gradle.kts
plugins {
id("com.lightningkite.kiteui") version "<version>" // generates routes, bundles resources
}
kiteui {
packageName = "com.example.myapp" // package of the generated AutoRoutes and Resources
}
kotlin {
sourceSets.commonMain.dependencies {
api("com.lightningkite.kiteui:library:<version>")
}
}See Getting started for the per-platform entry points.
| Module | What it is |
|---|---|
library |
The framework: web, Android, iOS, and JVM (experimental server-side rendering) |
library-compose |
Desktop target, rendering through Compose Multiplatform |
library-camera, library-camera-compose
|
Camera preview and barcode scanning |
library-lottie, library-lottie-compose
|
Lottie animations |
library-map |
MapLibre maps |
test-utilities |
UI test helpers for every platform (Testing) |
gradle-plugin |
The com.lightningkite.kiteui plugin: route generation and resources |
ai-driver-server |
Relay that lets a CLI or test drive a running app (AI driver) |
example-app/.A login screen from the example app in two themes (live, source):
In production across many Lightning Kite projects. The API is not frozen; breaking changes come with deprecations and notes in the CHANGELOG. Server-side rendering (jvmSsr) is experimental, and there is no WASM target.