A form framework with a single-component API, co-located validation, and self-structuring data designed for coding agents and humans.
FormKit is a form framework for React and Vue that provides a single-component API to build complex forms with minimal boilerplate. It solves the problem of form state management and validation by introducing a low-level primitive called the FormKit Node, which automatically structures data and co-locates validation rules, making forms easier to reason about for both developers and coding agents.
Frontend developers building complex forms in React or Vue, especially teams working at scale or integrating AI coding assistants into their workflow.
Developers choose FormKit for its compact API that reduces boilerplate, its self-structuring data that mirrors component hierarchy, and its first-class support for coding agents, enabling AI to generate and maintain forms predictably.
The form framework for coding agents
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses a single <FormKit> component for all input types with a consistent interface, reducing boilerplate and simplifying learning, as shown in the example code for text and password inputs.
Includes over 30 validation rules that can be declared inline, eliminating the need for external validation libraries and separate schemas, as highlighted in the co-located validation feature.
Automatically nests data as objects or arrays using type='group' and type='list', mirroring component hierarchy without manual state management, which simplifies complex form handling.
Specifically designed for coding agents with tools like 'npx formkit skill' to configure AI assistants, making form generation and maintenance predictable, as emphasized in the README's focus on agents.
Only provides bindings for React and Vue, so developers using other frameworks cannot adopt it without significant workarounds, despite the framework-agnostic core.
Advanced inputs like datepicker and autocomplete are part of FormKit Pro, a paid offering, which may require additional investment for complex interfaces, as noted in the Pro section.
Including validation, i18n, and plugins can increase bundle size, potentially making it overkill for lightweight applications that only need basic form functionality.