# redux-form/redux-form-examples architecture

> Architecture diagram of the GitHub repository redux-form/redux-form-examples, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/redux-form/redux-form-examples
- Repository: https://github.com/redux-form/redux-form-examples

## Overview

This repository is a collection of standalone Redux Form learning apps, not one integrated product. The user opens an example, interacts with its form, and sees the demonstrated behavior: validation, normalization, field arrays, initialization, selection, specialized widgets, or submission. Each app entry point creates a Redux store and renders its example form; some examples add dedicated validators, submit handlers, reducers, or wizard pages. The README documents the full capability set. Edges to form components are supported by entry-point imports/references; unsampled behavior is represented as a capability, not an asserted internal call chain.

Main entry points: [`dispatchSubmit/src/DispatchSubmit.js`](https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/DispatchSubmit.js) (Dispatched submit), [`immutable/src/ImmutableForm.js`](https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/ImmutableForm.js) (Immutable form), [`fieldArrays/src/FieldArraysForm.js`](https://github.com/redux-form/redux-form-examples/blob/master/fieldArrays/src/FieldArraysForm.js) (Field arrays), [`wizard/src/WizardForm.js`](https://github.com/redux-form/redux-form-examples/blob/master/wizard/src/WizardForm.js) (Wizard form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["Form fundamentals"]
  node_simple["Simple form<br/>[SimpleForm.js]"]
  node_arrays["Field arrays<br/>[FieldArraysForm.js]"]
  node_wizard["Wizard form<br/>[WizardForm.js]"]
  node_wizardpages["Wizard pages"]
end

subgraph group_validation["Validation and submit"]
  node_fieldvalidation["Field validation"]
  node_syncvalidation["Synchronous validation"]
  node_submitvalidation["Submit validation"]
  node_asyncblur["Async blur validation"]
  node_asyncchange["Async change validation"]
  node_asyncvalidator["Async validator<br/>[asyncValidate.js]"]
  node_changevalidator["Change validator<br/>[asyncValidate.js]"]
  node_remote["Remote submit"]
  node_remotebutton["Submit button"]
  node_dispatch["Dispatched submit<br/>[DispatchSubmit.js]"]
  node_submitlogic["Submit handler<br/>[submit.js]"]
  node_saga["Saga submit<br/>[saga.js]"]
  node_epic["Epic submit<br/>[epic.js]"]
end

subgraph group_state["State and values"]
  node_initialize["State initialization"]
  node_account["Account state<br/>[account.js]"]
  node_immutable["Immutable form<br/>[ImmutableForm.js]"]
  node_immutablevalues["Immutable values<br/>[ImmutableValues.js]"]
  node_immutable_reducer["Immutable reducer<br/>[reducer.js]"]
  node_selecting["Selected form values"]
  node_normalizing["Normalized fields"]
  node_phone["Phone normalizer<br/>[normalizePhone.js]"]
end

subgraph group_integrations["Widgets and extensions"]
  node_material["Material UI form<br/>[MaterialUiForm.js]"]
  node_widgets["React Widgets form"]
end

node_learner(("Example user"))

node_learner -->|"uses example"| node_simple
node_learner -->|"uses example"| node_arrays
node_learner -->|"uses example"| node_wizard
node_learner -->|"uses example"| node_fieldvalidation
node_learner -->|"uses example"| node_syncvalidation
node_learner -->|"uses example"| node_submitvalidation
node_learner -->|"uses example"| node_asyncblur
node_learner -->|"uses example"| node_asyncchange
node_learner -->|"uses example"| node_remote
node_learner -->|"uses example"| node_dispatch
node_learner -->|"uses example"| node_initialize
node_learner -->|"uses example"| node_immutable
node_learner -->|"uses example"| node_selecting
node_learner -->|"uses example"| node_normalizing
node_learner -->|"uses example"| node_material
node_learner -->|"uses example"| node_widgets
node_arrays -.->|"validates with"| node_fieldvalidation
node_asyncblur -->|"validates with"| node_asyncvalidator
node_asyncchange -->|"validates with"| node_changevalidator
node_remote -->|"paired with"| node_remotebutton
node_dispatch -->|"dispatches through"| node_saga
node_dispatch -->|"dispatches through"| node_epic
node_saga -->|"invokes"| node_submitlogic
node_epic -->|"invokes"| node_submitlogic
node_initialize -->|"initializes from"| node_account
node_immutable -->|"displays values"| node_immutablevalues
node_immutable -->|"uses reducer"| node_immutable_reducer
node_normalizing -.->|"normalizes with"| node_phone
node_wizard -.->|"renders pages"| node_wizardpages

click node_simple "https://github.com/redux-form/redux-form-examples/blob/master/simple/src/SimpleForm.js"
click node_arrays "https://github.com/redux-form/redux-form-examples/blob/master/fieldArrays/src/FieldArraysForm.js"
click node_wizard "https://github.com/redux-form/redux-form-examples/blob/master/wizard/src/WizardForm.js"
click node_wizardpages "https://github.com/redux-form/redux-form-examples/blob/master/wizard/src/WizardFormFirstPage.js"
click node_fieldvalidation "https://github.com/redux-form/redux-form-examples/blob/master/fieldLevelValidation/src/FieldLevelValidationForm.js"
click node_syncvalidation "https://github.com/redux-form/redux-form-examples/blob/master/syncValidation/src/SyncValidationForm.js"
click node_submitvalidation "https://github.com/redux-form/redux-form-examples/blob/master/submitValidation/src/SubmitValidationForm.js"
click node_asyncblur "https://github.com/redux-form/redux-form-examples/blob/master/asyncValidation/src/AsyncValidationForm.js"
click node_asyncchange "https://github.com/redux-form/redux-form-examples/blob/master/asyncChangeValidation/src/AsyncValidationForm.js"
click node_asyncvalidator "https://github.com/redux-form/redux-form-examples/blob/master/asyncValidation/src/asyncValidate.js"
click node_changevalidator "https://github.com/redux-form/redux-form-examples/blob/master/asyncChangeValidation/src/asyncValidate.js"
click node_remote "https://github.com/redux-form/redux-form-examples/blob/master/remoteSubmit/src/RemoteSubmitForm.js"
click node_remotebutton "https://github.com/redux-form/redux-form-examples/blob/master/remoteSubmit/src/RemoteSubmitButton.js"
click node_dispatch "https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/DispatchSubmit.js"
click node_submitlogic "https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/submit.js"
click node_saga "https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/saga.js"
click node_epic "https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/epic.js"
click node_initialize "https://github.com/redux-form/redux-form-examples/blob/master/initializeFromState/src/InitializeFromStateForm.js"
click node_account "https://github.com/redux-form/redux-form-examples/blob/master/initializeFromState/src/account.js"
click node_immutable "https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/ImmutableForm.js"
click node_immutablevalues "https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/ImmutableValues.js"
click node_immutable_reducer "https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/reducer.js"
click node_selecting "https://github.com/redux-form/redux-form-examples/blob/master/selectingFormValues/src/SelectingFormValuesForm.js"
click node_normalizing "https://github.com/redux-form/redux-form-examples/blob/master/normalizing/src/FieldNormalizingForm.js"
click node_phone "https://github.com/redux-form/redux-form-examples/blob/master/normalizing/src/normalizePhone.js"
click node_material "https://github.com/redux-form/redux-form-examples/blob/master/material-ui/src/MaterialUiForm.js"
click node_widgets "https://github.com/redux-form/redux-form-examples/blob/master/react-widgets/src/ReactWidgetsForm.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_simple,node_arrays,node_wizard,node_wizardpages,node_learner toneBlue
class node_fieldvalidation,node_syncvalidation,node_submitvalidation,node_asyncblur,node_asyncchange,node_asyncvalidator,node_changevalidator,node_remote,node_remotebutton,node_dispatch,node_submitlogic,node_saga,node_epic toneAmber
class node_initialize,node_account,node_immutable,node_immutablevalues,node_immutable_reducer,node_selecting,node_normalizing,node_phone toneMint
class node_material,node_widgets toneRose
```

## Components

### Form fundamentals

- [Simple form](https://github.com/redux-form/redux-form-examples/blob/master/simple/src/SimpleForm.js): `simple/src/SimpleForm.js`
- [Field arrays](https://github.com/redux-form/redux-form-examples/blob/master/fieldArrays/src/FieldArraysForm.js): `fieldArrays/src/FieldArraysForm.js`
- [Wizard form](https://github.com/redux-form/redux-form-examples/blob/master/wizard/src/WizardForm.js): `wizard/src/WizardForm.js`
- [Wizard pages](https://github.com/redux-form/redux-form-examples/blob/master/wizard/src/WizardFormFirstPage.js): `wizard/src/WizardFormFirstPage.js`

### Validation and submit

- [Field validation](https://github.com/redux-form/redux-form-examples/blob/master/fieldLevelValidation/src/FieldLevelValidationForm.js): `fieldLevelValidation/src/FieldLevelValidationForm.js`
- [Synchronous validation](https://github.com/redux-form/redux-form-examples/blob/master/syncValidation/src/SyncValidationForm.js): `syncValidation/src/SyncValidationForm.js`
- [Submit validation](https://github.com/redux-form/redux-form-examples/blob/master/submitValidation/src/SubmitValidationForm.js): `submitValidation/src/SubmitValidationForm.js`
- [Async blur validation](https://github.com/redux-form/redux-form-examples/blob/master/asyncValidation/src/AsyncValidationForm.js): `asyncValidation/src/AsyncValidationForm.js`
- [Async change validation](https://github.com/redux-form/redux-form-examples/blob/master/asyncChangeValidation/src/AsyncValidationForm.js): `asyncChangeValidation/src/AsyncValidationForm.js`
- [Async validator](https://github.com/redux-form/redux-form-examples/blob/master/asyncValidation/src/asyncValidate.js): `asyncValidation/src/asyncValidate.js`
- [Change validator](https://github.com/redux-form/redux-form-examples/blob/master/asyncChangeValidation/src/asyncValidate.js): `asyncChangeValidation/src/asyncValidate.js`
- [Remote submit](https://github.com/redux-form/redux-form-examples/blob/master/remoteSubmit/src/RemoteSubmitForm.js): `remoteSubmit/src/RemoteSubmitForm.js`
- [Submit button](https://github.com/redux-form/redux-form-examples/blob/master/remoteSubmit/src/RemoteSubmitButton.js): `remoteSubmit/src/RemoteSubmitButton.js`
- [Dispatched submit](https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/DispatchSubmit.js): `dispatchSubmit/src/DispatchSubmit.js`
- [Submit handler](https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/submit.js): `dispatchSubmit/src/submit.js`
- [Saga submit](https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/saga.js): `dispatchSubmit/src/saga.js`
- [Epic submit](https://github.com/redux-form/redux-form-examples/blob/master/dispatchSubmit/src/epic.js): `dispatchSubmit/src/epic.js`

### State and values

- [State initialization](https://github.com/redux-form/redux-form-examples/blob/master/initializeFromState/src/InitializeFromStateForm.js): `initializeFromState/src/InitializeFromStateForm.js`
- [Account state](https://github.com/redux-form/redux-form-examples/blob/master/initializeFromState/src/account.js): `initializeFromState/src/account.js`
- [Immutable form](https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/ImmutableForm.js): `immutable/src/ImmutableForm.js`
- [Immutable values](https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/ImmutableValues.js): `immutable/src/ImmutableValues.js`
- [Immutable reducer](https://github.com/redux-form/redux-form-examples/blob/master/immutable/src/reducer.js): `immutable/src/reducer.js`
- [Selected form values](https://github.com/redux-form/redux-form-examples/blob/master/selectingFormValues/src/SelectingFormValuesForm.js): `selectingFormValues/src/SelectingFormValuesForm.js`
- [Normalized fields](https://github.com/redux-form/redux-form-examples/blob/master/normalizing/src/FieldNormalizingForm.js): `normalizing/src/FieldNormalizingForm.js`
- [Phone normalizer](https://github.com/redux-form/redux-form-examples/blob/master/normalizing/src/normalizePhone.js): `normalizing/src/normalizePhone.js`

### Widgets and extensions

- [Material UI form](https://github.com/redux-form/redux-form-examples/blob/master/material-ui/src/MaterialUiForm.js): `material-ui/src/MaterialUiForm.js`
- [React Widgets form](https://github.com/redux-form/redux-form-examples/blob/master/react-widgets/src/ReactWidgetsForm.js): `react-widgets/src/ReactWidgetsForm.js`

### Other components

- **Example user**

## Connections

- Example user → Simple form: uses example (evidence: `README.md`)
- Example user → Field arrays: uses example (evidence: `README.md`)
- Example user → Wizard form: uses example (evidence: `README.md`)
- Example user → Field validation: uses example (evidence: `README.md`)
- Example user → Synchronous validation: uses example (evidence: `README.md`)
- Example user → Submit validation: uses example (evidence: `README.md`)
- Example user → Async blur validation: uses example (evidence: `README.md`)
- Example user → Async change validation: uses example (evidence: `README.md`)
- Example user → Remote submit: uses example (evidence: `README.md`)
- Example user → Dispatched submit: uses example (evidence: `README.md`)
- Example user → State initialization: uses example (evidence: `README.md`)
- Example user → Immutable form: uses example (evidence: `README.md`)
- Example user → Selected form values: uses example (evidence: `README.md`)
- Example user → Normalized fields: uses example (evidence: `README.md`)
- Example user → Material UI form: uses example (evidence: `README.md`)
- Example user → React Widgets form: uses example (evidence: `README.md`)
- Field arrays → Field validation: validates with
- Async blur validation → Async validator: validates with (evidence: `asyncValidation/src/AsyncValidationForm.js`)
- Async change validation → Change validator: validates with (evidence: `asyncChangeValidation/src/AsyncValidationForm.js`)
- Remote submit → Submit button: paired with (evidence: `remoteSubmit/src/index.js`)
- Dispatched submit → Saga submit: dispatches through (evidence: `dispatchSubmit/src/index.js`)
- Dispatched submit → Epic submit: dispatches through (evidence: `dispatchSubmit/src/index.js`)
- Saga submit → Submit handler: invokes (evidence: `dispatchSubmit/src/saga.js`)
- Epic submit → Submit handler: invokes (evidence: `dispatchSubmit/src/epic.js`)
- State initialization → Account state: initializes from (evidence: `initializeFromState/src/InitializeFromStateForm.js`)
- Immutable form → Immutable values: displays values (evidence: `immutable/src/index.js`)
- Immutable form → Immutable reducer: uses reducer (evidence: `immutable/src/index.js`)
- Normalized fields → Phone normalizer: normalizes with
- Wizard form → Wizard pages: renders pages
