Guides
Form Framework
Generate validated, accessible forms from a JSON schema.
Describe fields, validation and layout as data. SKForm renders SKOne inputs, wires validation state, manages focus order and returns a typed result.
OnboardingScreen.kt
val schema = SKFormSchema.fromJson(assets.read("onboarding.json"))
SKForm(schema = schema, onSubmit = { values -> viewModel.submit(values) })Supported field types
- text, email, password, number, phone
- select, multiselect, radio, checkbox, switch
- date, time, file
- group and repeatable array sections