{"id":27291008,"url":"https://github.com/zanlib0/formuj","last_synced_at":"2026-01-12T05:51:58.855Z","repository":{"id":38989288,"uuid":"258818202","full_name":"intercaetera/formuj","owner":"intercaetera","description":"A delightful React form framework","archived":false,"fork":false,"pushed_at":"2022-12-14T20:18:28.000Z","size":4717,"stargazers_count":11,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:55:44.959Z","etag":null,"topics":["form","formik","hacktoberfest","react"],"latest_commit_sha":null,"homepage":"http://formuj.intercaetera.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intercaetera.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-25T16:09:36.000Z","updated_at":"2023-03-28T18:55:55.000Z","dependencies_parsed_at":"2023-01-29T00:46:01.878Z","dependency_job_id":null,"html_url":"https://github.com/intercaetera/formuj","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercaetera%2Fformuj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercaetera%2Fformuj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercaetera%2Fformuj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intercaetera%2Fformuj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intercaetera","download_url":"https://codeload.github.com/intercaetera/formuj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487729,"owners_count":21112188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form","formik","hacktoberfest","react"],"created_at":"2025-04-11T21:55:49.018Z","updated_at":"2026-01-12T05:51:58.794Z","avatar_url":"https://github.com/intercaetera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\t\u003cimg width=\"300\" height=\"300\" src=\"https://github.com/intercaetera/formuj/blob/master/formuj-logo.svg\"\u003e\n\u003c/p\u003e\n\n# Formuj\n\n[![Travis][build-badge]][build]\n[![npm package][npm-badge]][npm]\n[![Coveralls][coveralls-badge]][coveralls]\n\n\u003e Formuj is still work in progress and not production-ready, but ideas, PRs and bugfixes are most welcome.\n\nFormuj is a delightful React form framework and set of patterns built on top of [Formik](https://github.com/jaredpalmer/formik).\n\n- Formuj is **simple**. The schema pattern is very easy to pick up and Formuj does not do much magic under the hood.\n- Formuj is **flexible**. There are many ways to inject custom behaviour into the schemas for all of your applications.\n- Formuj is **battle-tested**. The schema pattern has been successfully used in production enterprise applications.\n- Formuj is **Formik**. At the end of the day, you still have access to the underlying Formik API for complicated functionality.\n\n## Example\n\n```js\nimport React from 'react';\n\nimport Formuj, { Input } from 'formuj';\nimport required from './validators/required';\n\nconst handleSubmit = values =\u003e console.log(values);\n\nconst Demo = () =\u003e {\n\treturn (\n\t\t\u003cdiv\u003e\n\t\t\t\u003cFormuj\n\t\t\t\tschema={[\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'firstName',\n\t\t\t\t\t\tlabel: 'First Name',\n\t\t\t\t\t\tcomponent: Input,\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tname: 'lastName',\n\t\t\t\t\t\tlabel: 'Last Name',\n\t\t\t\t\t\tcomponent: Input,\n\t\t\t\t\t\tvalidators: [required],\n\t\t\t\t\t},\n\t\t\t\t]}\n\t\t\t\tonSubmit={handleSubmit}\n\t\t\t/\u003e\n\t\t\u003c/div\u003e\n\t);\n};\n```\n\nYou can also check out the [live demo on CodeSandbox](https://codesandbox.io/s/formuj-demo-yufd9?file=/src/App.js). (More examples in the `demo/src` directory).\n\n## Another React form framework?\n\nFormuj was designed with a specific purpose: to build complicated forms rapidly with a reusable library of form controls.\n\n### When should you use Formuj?\n\n- Your forms consist primarily of similar components that are reused a lot.\n\n- Your forms have states that depend on previously entered data or validate based on previously entered data.\n\n- You want to use pure JS functions for validation instead of a validation library.\n\n- You often need to prototype forms out of reusable components quickly.\n\n- You are looking for an opinionated way of working with Formik.\n\n### When should you not use Formuj?\n\n- Your forms have a variety of different fields and rarely the same type of form control is used in more than one form.\n\n- Most of your validations are asynchronous.\n\n## Credits\n\nMaintainer: [@intercaetera](https://intercaetera.com)\n\nHonourable mention: [@adam-golab](https://github.com/adam-golab) (for help with initial implementation)\n\n[build-badge]: https://img.shields.io/travis/intercaetera/formuj/master.png?style=flat-square\n[build]: https://travis-ci.org/intercaetera/formuj\n\n[npm-badge]: https://img.shields.io/npm/v/npm-package.png?style=flat-square\n[npm]: https://www.npmjs.org/package/formuj\n\n[coveralls-badge]: https://img.shields.io/coveralls/intercaetera/formuj/master.png?style=flat-square\n[coveralls]: https://coveralls.io/github/intercaetera/formuj\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanlib0%2Fformuj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanlib0%2Fformuj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanlib0%2Fformuj/lists"}