Components / AI components / Forms & generated UI
AI formsExperimental alpha
AIForm
Controlled forms with conditional fields, validation and host receipts.
AIForm preview
Loading example…
Interactions use local sample data.
Usage and props
Persist versioned drafts and stable row IDs, validate requests on the server, control steps and supply matching submission acknowledgements.
Supported inputs
This is the public signature used by this example. Open Code to see how the values and callbacks fit together.
fields · values · arrays? · arrayValues? · onArrayChange? · steps? · step? · onStepChange? · identity? · status? · receipt?These are the main props for the example. The package's TypeScript declarations include the full API.