{"schemaVersion":1,"id":"tanstack-form","name":"TanStack Form","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/tanstack-form/","officialUrl":"https://github.com/tanstack/form","isCatalog":false,"description":"A typed headless form library with state management and synchronous or asynchronous field validation.","tasks":["Build a typed form with validation","Connect field state and a submit handler to the form interface"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems","frontend.forms"],"tags":["TanStack Form","UI","Development"],"aliases":["tanstack/form","tanstack-form","tanstackform","form-state-management"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Build a typed form with validation","chooseWhen":["Build a typed form with validation","Connect field state and a submit handler to the form interface"],"considerInstead":["When choosing for this topic, compare TanStack Form with React Hook Form. A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare TanStack Form with Valibot. A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":["Connect the library to your fields and define validation rules, error display, and submission state."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Browser form validation does not replace server-side input validation. A headless approach requires you to build accessible elements and error messages yourself."],"faq":[{"question":"What can you use for free in TanStack Form?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with TanStack Form?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for TanStack Form?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with TanStack Form?","answer":"Describe fields, initial values, and validation rules. Connect field state and a submit handler to the form interface. Configure styles and check empty, loading, and error states."},{"question":"Does TanStack Form provide a finished visual form?","answer":"This is a headless library: it manages field state and validation, while the application defines appearance and controls. The README lists strict typing, modular reactive mechanisms, nested fields, and synchronous and asynchronous validation with debounce. The library is not tied to one framework."}],"related":[{"id":"react-hook-form","reason":"A candidate to compare under the topic: Design systems, UI components. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"valibot","reason":"A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"zod","reason":"A candidate to compare under the topic: Forms and validation. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://github.com/tanstack/form","https://raw.githubusercontent.com/tanstack/form/HEAD/README.md","https://raw.githubusercontent.com/tanstack/form/HEAD/LICENSE","https://www.open-source-tools.com/"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Build a typed form with validation.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Describe fields, initial values, and validation rules.","Connect field state and a submit handler to the form interface.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/tanstack/form","https://raw.githubusercontent.com/tanstack/form/HEAD/README.md","https://raw.githubusercontent.com/tanstack/form/HEAD/LICENSE","https://www.open-source-tools.com/"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":["zod","valibot","react-hook-form"],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/tanstack/form","label":"Official source"},{"url":"https://raw.githubusercontent.com/tanstack/form/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/tanstack/form/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}