Architecture & Modules
React sits directly above Inertia in the ProcessWire module hierarchy. It knows nothing about higher-level domain modules (such as Entries, Blocks, Forms, Navigation, or Commerce). Instead, it exposes generic registries, hooks, and runtime contracts that domain modules plug into lazily.
flowchart TD
INERTIA["Inertia (Protocol Layer)"] --> REACT["React (Shared Runtime & Gateways)"]
REACT --> CORE["Core Bundles: ReactInertia, ReactLayout, ReactViewports, SchemaForm"]
REACT --> COMP["15 Auto-Installed Companions (Inputfields, Viewports, Tiptap)"]
REACT --> HUB["Optional ProcessReactWorkspace (Admin > Workspace + UI Showcase)"]
CORE --> DOWN["Downstream Modules via @pw/react/* SDK & module-delta.css"]
Auto-Installed Companion Modules (15 Modules)
Section titled “Auto-Installed Companion Modules (15 Modules)”Installing React automatically installs 15 companion modules, each compiled to its own isolated on-demand bundle under site/modules/React/dist/:
| Category | Module Class | Role |
|---|---|---|
| Viewports & Layout | MarkupReactTable |
Interactive data table viewport (dist/MarkupReactTable.js) |
| Viewports & Layout | MarkupReactCards |
Responsive card grid viewport (dist/MarkupReactCards.js) |
| Viewports & Layout | MarkupReactTab |
Client-side tabbed container for classic ProcessWire forms (dist/MarkupReactTab.js) |
| Media Fields | InputfieldReactImage |
Modern image studio with crop, rotate, flip, focal point, and multi-language metadata (dist/InputfieldReactImage.js) |
| Media Fields | InputfieldReactFile |
Modern file manager with drag-and-drop uploads and localized descriptions (dist/InputfieldReactFile.js) |
| Structured Fields | InputfieldReactLink |
Polymorphic link picker for pages, URLs, emails, phones, files, and custom records (dist/InputfieldReactLink.js) |
| Structured Fields | InputfieldReactIcon |
Searchable vector icon picker backed by 6,545 bundled icons (dist/InputfieldReactIcon.js) |
| Structured Fields | InputfieldReactKeyValue |
Structured key-value pair editor with validation and JSON output (dist/InputfieldReactKeyValue.js) |
| Structured Fields | InputfieldReactCondition |
Visual AND/OR rule group and expression condition builder (dist/InputfieldReactCondition.js) |
| Relation Pickers | InputfieldReactM2O |
Many-to-One single relation picker (dist/InputfieldReactRelation.js) |
| Relation Pickers | InputfieldReactM2M |
Many-to-Many sortable multi-relation picker |
| Relation Pickers | InputfieldReactO2M |
One-to-Many child relation table and cards picker |
| Relation Pickers | InputfieldReactM2A |
Many-to-Any polymorphic relation picker |
| Rich Text | InputfieldTiptap |
Modular Tiptap rich text editor with 4 capability presets and native ProcessWire dialogs |
| Rich Text | TextformatterTiptapMiniBlocks |
Frontend textformatter that renders embedded Tiptap miniBlocks safely |
Optional Hub Module: ProcessReactWorkspace
Section titled “Optional Hub Module: ProcessReactWorkspace”ProcessReactWorkspace is shipped inside the same site/modules/React/ directory, but is not installed automatically when you install React. Installing it adds Admin > Workspace (with dynamic ProcessReactWorkspace::checkAccess permission gating), unifying all registered module workspaces, Bento dashboard widgets, and the debug-only UI Showcase studio.