AEM Forms · updated
What are headless adaptive forms?
A headless adaptive form is a form delivered as JSON instead of as a web page. Your own application, on the web or on a phone, reads the JSON and draws the form with its own components, while AEM Forms keeps the definition. Adobe provides React packages and a starter kit, and says only core components support headless delivery today.
In plain words
The form's questions, rules and validation live in one JSON document. Any front end can show it. That suits teams who already have a design system and an app, and want forms inside it rather than an AEM page.
What the JSON looks like
Adobe's example forms in the aem-forms-af-runtime repository start with an adaptiveform version, a list of items, and metadata naming the rule grammar. Each item has a name, a fieldType and a label, plus optional constraints.
| Property | Meaning |
|---|---|
| adaptiveform | Specification version; Adobe's examples and the Edge Delivery block use 0.10.0 |
| items | The fields and panels, in order |
| fieldType | The kind of field, for example text-input, number-input, date-input, drop-down, radio-group, checkbox-group, checkbox, multiline-input, file-input, email, button, panel |
| name | The key under which the value is submitted |
| label.value | The visible label |
| type | The data type, for example string, number or boolean |
| required, minLength, maxLength, minimum, maximum, pattern, format | Validation constraints |
| enum / enumNames | Option values and their display names |
| constraintMessages | The error message for each constraint |
| metadata | grammar json-formula-1.0.0 and version 1.0.0 in Adobe's examples |
What Adobe provides
- React packages: @aemforms/af-react-renderer and @aemforms/af-react-components, used with @adobe/react-spectrum.
- A mappings object that maps each field type to a React component; you can replace components with your own.
- A starter kit, react-starter-kit-aem-headless-forms, with a sample loan application form. It needs Git and Node.js 16.13.0 or later.
- A .env file in the starter kit that chooses between the bundled form JSON and a form fetched from an AEM Forms server.
Adobe says you are free to render the form with any framework or language, and that for mobile and offline use the recommended approach is to build your own native app and fetch form definitions through the headless adaptive forms API.
A minimal form definition in the shape of Adobe's examples
{
"adaptiveform": "0.10.0",
"items": [
{
"name": "email",
"fieldType": "text-input",
"type": "string",
"format": "email",
"required": true,
"label": { "value": "Email address" }
}
],
"metadata": { "grammar": "json-formula-1.0.0", "version": "1.0.0" }
}Rendering it with Adobe's React packages (from the af-runtime README)
import { mappings } from '@aemforms/af-react-components';
const json = { /* form definition */ };
<AdaptiveForm mappings={mappings} formJson={json} />How to try it
- Clone Adobe's react-starter-kit-aem-headless-forms and run npm install.
- Rename env_template to .env and keep USE_LOCAL_JSON set to true to use the bundled form.
- Run npm start to see the sample form.
- Replace the bundled form JSON with your own. The generator on this site writes a starting definition from a list of fields.
- Map any field type to your own component in the mappings file.
Related tools and pages on this site
- Adaptive form generator (free, runs in your browser)
- AEM Forms readiness check (free, runs in your browser)
Questions
Do I need AEM knowledge to build the front end?
Adobe says no prior knowledge of AEM is needed to develop headless adaptive forms; a front-end developer familiar with modern JavaScript frameworks can use them.
Can foundation component forms be delivered headless?
No. Adobe states that currently only core components support headless delivery.
Where do headless form submissions go?
Adobe's comparison table lists custom API endpoints for headless authoring, and says prefill, localisation and theming need a custom implementation.
Sources
- Adobe: AEM Headless adaptive forms, introduction (checked 13 Nov 2026)
- Adobe: Create and preview a Headless Form using a React app (checked 13 Nov 2026)
- Adobe on GitHub: aem-forms-af-runtime (headless adaptive forms: packages, example form JSON, model reference) (checked 13 Nov 2026)
- Adobe on GitHub: aem-forms-af-runtime, examples/contact-us.form.json (checked 13 Nov 2026)
- Adobe on GitHub: aem-forms-af-runtime, js-docs (FormJson, FieldJson, Label, ConstraintsMessages) (checked 13 Nov 2026)
- Adobe on GitHub: aem-core-forms-components, FieldType.java (the fieldType values core components export) (checked 13 Nov 2026)
- Adobe: How to author forms in AEM (foundation, core, Edge Delivery and headless compared) (checked 13 Nov 2026)
Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.
Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.