Design System KMP is a Kotlin Multiplatform (KMP) library for unified UI styling across Android and iOS applications. It provides typography, colors, spacing, and other design system components.
- 🎨 Flexible color palette (light and dark themes)
- ✍ Typography based on Compose Multiplatform
- 📏 Dimension system (spacing, element sizes)
- 🌍 KMP support for Android and iOS
- 📦 Easy integration
Add the library to your project dependencies:
dependencies {
implementation("io.github.yusuf0405:designsystem:<latest-version>")
}
val typography = DesignSystemTheme.typography
Text("Hello, world!", style = typography.titleLarge.bold)
val colors = DesignSystemTheme.colors
Box(modifier = Modifier.background(colors.primary))
DesignSystemTheme(isDarkTheme = true) {
// Your content
}
This project is licensed under the MIT License.