
macOS-inspired component library with 30+ composable UI elements, theme-aware light/dark modes, built-in design system (colors, typography, shapes, animations), and no external UI dependencies.
A Compose Multiplatform adaptation of Darwin UI, a macOS-inspired React component library by Suraj Mandal. This port brings the same design language to Android, iOS, Desktop, and Web through Compose Multiplatform.
| Platform | Status |
|---|---|
| Android | ✓ |
| iOS | ✓ |
| Desktop (JVM) | ✓ |
| Web (JS) | ✓ |
| Web (Wasm) | ✓ |
// build.gradle.kts
kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.kdroidfilter:compose-darwin-ui:<version>")
}
}
}import io.github.kdroidfilter.darwinui.theme.DarwinTheme
@Composable
fun App() {
DarwinTheme(darkTheme = false) {
// Your content here
// Access design tokens via DarwinTheme.colors, DarwinTheme.typography, etc.
}
}import io.github.kdroidfilter.darwinui.components.*
@Composable
fun MyScreen() {
Card {
CardHeader {
CardTitle("Welcome")
CardDescription("A macOS-inspired component library")
}
CardContent {
PrimaryButton(
onClick = { /* ... */ },
) {
Text("Get Started")
}
}
}
}For the full component catalog, API details, and interactive demos, visit the documentation.
Compose Darwin UI is available under a dual license:
Free for open-source projects. If your project is distributed under a GPL-compatible license, you can use Compose Darwin UI at no cost under the terms of the GNU General Public License v3.0.
For proprietary/closed-source projects, a commercial license is available for $20 (one-time payment). This license covers usage in up to 5 commercial projects.
To purchase a commercial license, contact me privately via email or open an issue on the repository.
A Compose Multiplatform adaptation of Darwin UI, a macOS-inspired React component library by Suraj Mandal. This port brings the same design language to Android, iOS, Desktop, and Web through Compose Multiplatform.
| Platform | Status |
|---|---|
| Android | ✓ |
| iOS | ✓ |
| Desktop (JVM) | ✓ |
| Web (JS) | ✓ |
| Web (Wasm) | ✓ |
// build.gradle.kts
kotlin {
sourceSets {
commonMain.dependencies {
implementation("io.github.kdroidfilter:compose-darwin-ui:<version>")
}
}
}import io.github.kdroidfilter.darwinui.theme.DarwinTheme
@Composable
fun App() {
DarwinTheme(darkTheme = false) {
// Your content here
// Access design tokens via DarwinTheme.colors, DarwinTheme.typography, etc.
}
}import io.github.kdroidfilter.darwinui.components.*
@Composable
fun MyScreen() {
Card {
CardHeader {
CardTitle("Welcome")
CardDescription("A macOS-inspired component library")
}
CardContent {
PrimaryButton(
onClick = { /* ... */ },
) {
Text("Get Started")
}
}
}
}For the full component catalog, API details, and interactive demos, visit the documentation.
Compose Darwin UI is available under a dual license:
Free for open-source projects. If your project is distributed under a GPL-compatible license, you can use Compose Darwin UI at no cost under the terms of the GNU General Public License v3.0.
For proprietary/closed-source projects, a commercial license is available for $20 (one-time payment). This license covers usage in up to 5 commercial projects.
To purchase a commercial license, contact me privately via email or open an issue on the repository.