Components / AI components / Forms & generated UI
Generative UIExperimental alpha

GeneratedUI

Validated sections, forms, charts, metrics, tables and host-owned actions.

GeneratedUI preview

Loading example…

Interactions use local sample data.

Usage and props

Authorize surface/version/action IDs, control version-bound form drafts and acknowledgements, and reconcile unknown outcomes. Generated data never provides callbacks.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

surface: unknown · state · forms / onFormChange · actionStates / onAction
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard