Jump to content

Recommended Posts

Posted

React, a ProcessWire module that provides a shared React 19 + Inertia.js v3 + Tailwind CSS v4 runtime for building modern admin interfaces, interactive data views, and drop-in Inputfields — without each module having to bundle its own frontend stack.

preview-workspace.thumb.jpg.b0aca82c5d3e26b4931b8d7657d767ee.jpg

How It Works

React runs on top of the standalone Inertia module for ProcessWire. Instead of building custom JSON APIs for every admin screen, Process modules can extend ProcessReact and pass PHP data directly to React components via Inertia.

It automatically maps ProcessWire's admin color variables (--pw-*), so interfaces blend naturally into your active ProcessWire AdminTheme (including light and dark modes). Every companion sub-module compiles to its own lightweight bundle and loads only on pages where it is actually used.

Optional Workspace Hub (ProcessReactWorkspace)

Installing React on its own does not add any extra menu items to your admin bar.

If you want a unified dashboard for your React-based modules, you can optionally install ProcessReactWorkspace(shipped inside the same module directory). It adds an Admin > Workspace hub with a customizable widget board and quick switcher across all registered React modules. Even when installed, modules still work standalone under their usual Setup > ... URLs.

Included Sub-Modules

Installing React also installs a set of ready-to-use Inputfield and Markup modules that work in classic ProcessWire page edit forms as well as React/Inertia screens:

Rich Text, Media & Form Controls

  • InputfieldTiptap (+ TextformatterTiptapMiniBlocks) — Modern rich text editor with ProcessWire page/file/image dialogs, drag-and-drop uploads, inline image resizing, multi-language tabs, and customizable mini-blocks.
  • InputfieldReactImage & InputfieldReactFile — Drag-and-drop media fields with focal point, zoom, crop/rotate/flip, color palette extraction, tags, and multi-language descriptions/alt text.
  • InputfieldReactIcon — Searchable 6,500+ vector icon selector (outline & filled) with optional size, stroke, color, and badge styling.
  • InputfieldReactLink — Multi-target link & media picker (page, entry, url, email, tel, file, image, video).
  • InputfieldReactKeyValue — Repeatable key-value pair editor for text/textarea fields.
  • InputfieldReactM2O / M2M / O2M / M2A — Relational pickers for many-to-one, many-to-many, one-to-many, and polymorphic relations.

Data Views & Layout

  • MarkupReactTable — Sortable, filterable, inline-editable data table viewport.
  • MarkupReactCards — Responsive card grid viewport.
  • MarkupReactTab — Accessible tab container (line, segmented, vertical styles).

Built With React: WireConsole

If you'd like to see a real module built on top of React, check out WireConsole (topic) — an administrative control plane for migrations, queues, scheduled tasks, backups, logs, and system health, built using ProcessReact and the shared runtime.

Requirements & Installation

  • PHP: 8.4+
  • ProcessWire: 3.0.271+
  • Required Module: Inertia
composer require trk/processwire-react

Then install React from Modules > Install (and optionally ProcessReactWorkspace if you want the unified Workspace dashboard).

Links

Feel free to share feedback, questions, bug reports, or ideas Github/thread!

  • Like 4

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...