PACKAGE · FORM

final-form

🏁 Framework agnostic, high performance, subscription-based form state management

WEEKLY DOWNLOADS 860.4K
STARS 3.0K
FORKS 224
OPEN ISSUES 109
GZIP SIZE 7.3 kB
UNPACKED SIZE 438.8 kB
DEPENDENCIES 2
LAST UPDATED 1y ago
DOWNLOAD TRENDS

final-form downloads · last 12 months

Download trends for final-form1 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.0857.5K1.7M2.6M3.4MNov 2025FebMayAugOct 2026
final-form
ABOUT FINAL-FORM

final-form is a framework-agnostic library for managing client-side form state. It addresses the work of tracking values and form changes through a subscription-based model, so applications can observe form state rather than relying on a framework-specific form implementation.

Its design centers on high performance and a clear separation between form state management and the UI framework that renders the form. This makes it relevant to developers who want to control how forms connect to an application’s interface, while keeping the state-management layer independent of that interface.

The subscription-based approach is the key architectural detail: consumers subscribe to form state and respond to updates, rather than treating every state change as a reason to update the entire form. The package description identifies form validation as a core use area, alongside form and state management; consult the package documentation for the exact APIs and validation patterns supported by version 5.0.1.

Because final-form is framework agnostic, it can fit into client-side workflows built around different UI frameworks, or into projects that provide their own rendering layer. Its focus is form state, so teams can use it as the state-management foundation while deciding separately how to present fields, errors, and other form details.

The reported gzip bundle size is 7.3 kB, and the package has an unpacked size of 438.8 kB; these figures describe different distribution measurements and should not be treated as interchangeable. At version 5.0.1, it is an established package with 226.4K weekly downloads and 3.0K GitHub stars, alongside 104 open issues; these figures are a snapshot, not a guarantee of maintenance or support.

One practical consideration is that the framework-agnostic design does not itself provide a framework-specific form interface. Teams should check how they will connect subscriptions, validation, and rendering in their chosen stack, and verify the current documentation and open issues before adopting it for a workflow that depends on a particular integration.

WHEN TO USE
  • Use final-form when you want client-side form state management that is separate from the UI framework rendering the form.
  • Use its subscription-based model when different parts of a form should observe relevant form-state updates rather than react to every change.
  • Consider it when form validation belongs in a dedicated form-state layer rather than being handled entirely by individual input components.
  • Use it as a foundation for a custom rendering layer when you want to choose how fields, validation feedback, and form state appear in your interface.
  • Consider it when your application needs form state management across a framework-agnostic client-side architecture.
  • Evaluate its reported 7.3 kB gzip bundle size when assessing the bundle impact of adding form-state management to a client-side application.
WHEN NOT TO USE
  • Avoid final-form if your form state is intentionally limited to a few local values; built-in component state can keep that workflow simpler.
  • Avoid it if you require a ready-made, framework-specific form interface; final-form is described as framework agnostic, so plan to provide or select the rendering integration separately.
  • Avoid it if your team does not want to work with subscriptions; use a form approach that exposes the update model your developers already prefer.
  • Avoid it if your application does not need centralized form state or form validation; handling the relevant values directly in existing components may involve less integration work.
  • Avoid adopting it before verifying support for a required framework or workflow; consult the version 5.0.1 documentation and open issues, or choose an approach with confirmed integration support.
  • Avoid it if your evaluation depends only on the unpacked size being small; the reported unpacked size is 438.8 kB, distinct from the 7.3 kB gzip bundle-size figure.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

COMPARISONS 4
final-form vs formik ★ 34.3K · 6.3M/wk final-form vs @rjsf/core ★ 15.9K · 2.0M/wk final-form vs react-hook-form ★ 44.9K · 65.7M/wk final-form vs @tanstack/react-form ★ 6.8K · 6.8M/wk