Skip to main content

ReFormer

Reactive forms library with signals

A signal-based model is the single source of truth. One schema ties together fields, rules and form behavior. ReFormer is framework-agnostic: the same form runs in React, Vue and Angular. Render the form by hand, from a schema or from JSON.

Ecosystem

Everything for forms β€” from the core to the AI assistant

The packages stack in layers β€” take exactly what you need: the ready look of ui-kit, your own design system on top of cdk, or just the logic of core. MCP teaches all of it to your AI assistant.

Core
@reformer/core

A signal model and one form assembly

  • Fine-grained reactivity on signals
  • Type safety
  • Framework-agnostic
  • Declarative validation and behavior
  • Arrays, nesting, wizards
Headless
@reformer/cdk

Logic and accessibility β€” the markup is yours

  • State, aria attributes and keyboard support built in
  • FormField, FormWizard, FieldArray, Autocomplete, FileUpload
  • Zero CSS: made for your company's design system
Ready UI
@reformer/ui-kit

70+ components in the shadcn/ui style

  • Tailwind CSS v4 and Radix UI
  • Masks, OTP codes, dates, combobox, file upload, step wizard and arrays
  • A field goes into the schema as is, and onto the screen in one line

Forms benchmark Β· November 19, 2026

ReFormer vs Formik, React Hook Form and RJSF

Two forms from real specifications β€” a registration form with a captcha and a six-step credit application β€” built on every library. Production builds, identical UI and behavior, measured in Chromium.

1.1–1.4Γ—

faster to a ready form than RHF, RJSF and Formik

Registration, cold load: 104 vs 117⁠–⁠147 ms

Remounting a ready form is faster with Formik: 1.90 vs 2.80 ms

ReFormer core104 ms
RHF117 ms
RJSF143 ms
Formik147 ms
+28.9KB

gzip on top of React without a form library

Registration: the production bundle of the page minus the same page without a form library

Formik24.5 KB
ReFormer core28.9 KB
RHF39.2 KB
RJSF129.5 KB
31renders

on form mount β€” the fewest of all competitors

Registration, React component renders on the first render of the form: 31 vs 58⁠–⁠90; the same markup without a form library β€” 21

ReFormer core31
RHF58
Formik59
RJSF90
+471KB

JS heap on top of React without a form library β€” on par with Formik

Registration: JS memory after load and garbage collection minus the same page without a form library

ReFormer core471 KB
Formik489 KB
RHF675 KB
RJSF939 KB

CPU 4x, medians over 10 runs Β· the report also shows where ReFormer falls behind

MCP measurements Β· December 2, 2026

An AI assistant with the MCP server and without it

The same agent β€” Claude Sonnet in Claude Code β€” walks a user journey: 13 requests over one order form, from creating it from a spec to editing the wizard. In one arm with only the packages and their docs, in the other with the MCP server. Every request is checked by the same verifier: build, types, form behavior and the browser.

Quality
100%

of runs pass the required checks with MCP β€” 79% without it

A journey of 13 requests without a single failure: 3 of 3 with MCP, 0 of 3 without it

  • without MCP79%
  • with MCP100%

Requests to a ready form β€” edits, a question, the move to a wizard, a removal: 29 of 36 without MCP against 36 of 36 with it

Speed
Γ—1.4

faster: all runs took 21 min against 30

Median run: 24 against 26 s

  • without MCP30 min
  • with MCP21 min
Cost
Γ—2.7

cheaper: $3.31 against $8.88 for all runs

Per passed run: $0.085 against $0.286

  • without MCP$8.88
  • with MCP$3.31
Tokens
Γ—2.7

fewer output tokens per run, by median

Input including cache: 57,144 against 64,965

  • without MCP3,556
  • with MCP1,335

A stronger model does not replace the server. Claude Sonnet with MCP passes 100% of runs for $3.31, Claude Opus without MCP passes 97% for $18.08 β€” 5.5 times more expensive.

Requests in the journey: 13, stacks: 3, repeats: 1, runs per arm: 39 Β· the report also covers the failures

What it solves

One standard for every form in the project

A form is values, rules, reactions to input, steps and submission. ReFormer gives them one way of writing. That brings readable code, easy review and maintenance β€” whoever wrote the form: a person, an AI assistant or the builder.

The key idea

One standard, many consequences

  • Every form is written the same way: model, schema, rules, behavior
  • Hence readability, less cognitive load and painless review
  • The MCP server and the builder write to the same standard
Read more β†’
For developers

No useEffect chains, no extra re-renders

  • Typing re-renders only its own field
  • Rules, calculations, arrays and steps β€” declaratively
  • Typed fields and logic tests without React
Read more β†’
For leads and reviewers

Every form in the project is built the same way

  • A form file is found by its name, not by searching
  • A rule change is a diff in one file
  • Someone else's form reads like your own
Read more β†’
With an AI assistant

AI code you can review

  • The MCP server writes to the same standard
  • β€œDone” only after a build and a type check
  • 100% of runs pass the checks against 79% without MCP, 2.7 times cheaper
Read more β†’
For product and analysts

The form in the editor, the code in the repo

  • Build it with the mouse or by asking in plain words
  • Export is a plain ReFormer module, not tied to the editor
  • Your own UI kit and your own AI model
Read more β†’
For architects

Forms across teams and from the server

  • Micro-frontends: one team registers a form, another mounts it
  • A form from a JSON document β€” 3.5 times lighter than RJSF in the benchmark
  • Your own design system on top of headless components
Read more β†’

Hidden benefits

What the feature list does not show

You will not find this in the API: these benefits follow from the standard and the architecture. They are the easiest to miss when choosing a library, and they are the ones that add up over the life of a project.

Faster review, no debates

How to lay out a form is settled in advance. Reviews discuss what a change means, not style, and read a diff of one file.

Read more β†’

Architecture out of the box

The model is the single source of truth; data, rules, reactions and the look are separated. The library holds this, not team discipline.

Read more β†’

Three ways to render, one logic

JSX by hand, from the schema or from JSON. The model, rules and behavior stay the same; the way is chosen per form.

Read more β†’

Token savings

With MCP, creating a form takes almost 9 times fewer tokens. Form code is 2–2.5 times shorter β€” less for the model to read and write.

Read more β†’

Fewer bugs by design

Value copies do not diverge, calculations do not loop, a stale check is aborted. These bugs need no tests to catch.

Read more β†’

Fewer merge conflicts

Markup, rules and behavior live in different files. The look, the rules and the fields of one form are edited in parallel.

Read more β†’

No dead ends as a form grows

Start with fields in JSX, plug in the renderer, move the schema to JSON or to another bundle β€” rules and behavior stay.

Read more β†’

Knowledge does not leave with the author

Understand one form and you understand them all. A form whose author has left is maintained by anyone on the team.

Read more β†’

Not only forms

The signal model is also the app store. A form is built over a part of it, so values are not copied back and forth.

Read more β†’

ReFormer Builder Β· in development

Build a form with the mouse β€” or just ask the AI

A visual form builder: assemble a form from kit components, see it live right away and export it as code β€” a ready module for your React app.

The builder: the form tree and the assistant panel β€” asked to β€œAdd a Phone field”, the assistant added the field and updated the module code
One assistant turn: the field is added and the form module code is updated
  • The AI assistant edits the form on requestβ€œAdd an email field”, β€œmake the phone required”, β€œsplit the form into three steps”. Every turn can be undone as a whole.
  • Bring your own modelAnthropic or OpenAI with an API key, or a local one: Ollama, LM Studio.
  • No serverThe builder runs entirely in the browser: it opens the project folder straight from disk and saves back to it. Model requests go from the browser too β€” there is no backend to deploy.
  • Extensible with pluginsThe file tree, editors, preview, code generation and the assistant are plugins themselves. Your own plugin can add a panel, a command, an editor, a component kit or a tool for the assistant.
  • Configured per projectThe .ui_builder/ folder sets the title, language and theme, the plugin set, the default kit, form templates and code printing templates.
  • Code as the outputExport prints a TypeScript form module: schema, model, rules, behavior, page. Edits go into the same JSON form file that lives in your repository.

Requires a Chromium-based browser: Chrome, Edge, Arc or Brave.