New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

form0-react

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

form0-react

React bindings for form0 ecosystem.

Source
npmnpm
Version
0.1.28
Version published
Weekly downloads
37
-90.24%
Maintainers
1
Weekly downloads
 
Created
Source

form0-react

NPM Version NPM Downloads NPM License Docs Website NPM Last Update

[!WARNING] form0 is in active, very early development. Do not use in production. Expect breaking changes and unstable behavior.

form0-react is the React UI layer of the form0 ecosystem, wrapping the form0-core engine with React bindings and a lightweight set of default field renderers. It ships minimal, accessible HTML components so downstream apps can layer their own design systems on top without rewriting engine integration code.

🗂️ Documentation

[!WARNING] 🚧 Work in progress...

Requirements

  • Node.js 18+
  • Worker mode expects a bundler/runtime that supports ESM module workers and rewrites new Worker(new URL('./engine-worker.js', import.meta.url), { type: 'module' }). Vite-based apps are supported. If a consumer has custom worker infrastructure, the internal hooks also accept workerUrl or createWorker overrides through engine options.

Consumer-owned renderer UI

FormRenderer supports consumer-owned state without coupling the renderer to a domain:

  • headerAccessory accepts a React node or a render function receiving the live { mode: 'edit' | 'readonly' }. It renders at full width after the sticky summary and before the form body.
  • externalDirty includes consumer-owned changes in modal and spotlight discard confirmation.
  • submitBlockedReason disables header submission and guards native form submission while the reason is set.
  • A recordMetadataFields descriptor may include displayValue for read-only display data that must never enter engine values, snapshots, or submitted form values.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

Keywords

form

FAQs

Package last updated on 02 Aug 2026

Related posts