Multiplat is the Kotlin Multiplatform successor to the ComposeForms library. It provides a powerful, type-safe DSL for building beautiful, responsive forms that run seamlessly on Android and iOS.
- 🚀 Kotlin Multiplatform: 100% shared code for logic and UI.
- 📝 Type-Safe DSL: Define complex forms with simple, readable Kotlin code.
- 🎨 Compose Multiplatform: Native performance and look-and-feel on all platforms.
- ✅ Built-in Validation: Powerful validation engine with extensible rules.
- 📱 Responsive Design: Adapts beautifully to different screen sizes.
val loginForm = remember {
form {
section("Login") {
text("username") {
label = "Username"
required("Username is required")
}
password("password") {
label = "Password"
required("Password is required")
}
}
submitButton("Login")
}
}RenderForm(
form = loginForm,
context = rememberFormContext(loginForm)
)Installation instructions for Maven Central coming soon.
This project is licensed under the MIT License - see the LICENSE file for details.