{"id":15714728,"url":"https://github.com/guidone/lets-form","last_synced_at":"2025-04-12T17:42:17.283Z","repository":{"id":156018490,"uuid":"620723600","full_name":"guidone/lets-form","owner":"guidone","description":"A JSON form generator for React with Material UI / AntDesign / Bootstrap / RSuite / Mantine","archived":false,"fork":false,"pushed_at":"2025-04-02T06:52:45.000Z","size":36752,"stargazers_count":135,"open_issues_count":4,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-03T17:11:42.822Z","etag":null,"topics":["antd","forms","hook","mui","react","react-bootstrap","rsuite"],"latest_commit_sha":null,"homepage":"https://letsform.dev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guidone.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-DESIGNER.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-29T08:47:39.000Z","updated_at":"2025-04-02T06:52:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc86bcd2-5398-43df-83f7-f4392027c4ab","html_url":"https://github.com/guidone/lets-form","commit_stats":{"total_commits":617,"total_committers":3,"mean_commits":"205.66666666666666","dds":"0.021069692058346856","last_synced_commit":"a4030f579893c4cabb1542157ed41b1e8cdd0af5"},"previous_names":[],"tags_count":134,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidone%2Flets-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidone%2Flets-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidone%2Flets-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidone%2Flets-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guidone","download_url":"https://codeload.github.com/guidone/lets-form/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248608249,"owners_count":21132688,"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":["antd","forms","hook","mui","react","react-bootstrap","rsuite"],"created_at":"2024-10-03T21:39:30.644Z","updated_at":"2025-04-12T17:42:17.263Z","avatar_url":"https://github.com/guidone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"300\" src=\"https://raw.githubusercontent.com/guidone/lets-form/main/scripts/assets/logo-ext%403x.png\"\u003e\n  \u003cbr/\u003e\n   Create React forms with simple JSON form schemas, supports Material UI / Bootstrap / AntDesign / RSuite / Mantine\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://letsform.dev\"\u003eDocumentation\u003c/a\u003e\n  \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"https://designer.letsform.dev\"\u003eTry LetsForm Designer\u003c/a\u003e\n  \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"https://join.slack.com/t/letsform/shared_invite/zt-2xk4z93h0-M29z7Fpd05nz2DJYqiQWUg\"\u003eSlack discussions\u003c/a\u003e\n  \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"https://www.javascript-jedi.com/LetsForm-Roadmap-f09f7f46fcb14e7a860cd3a88b781bec\"\u003eRoadmap\u003c/a\u003e\n  \u0026nbsp;|\u0026nbsp;\n  \u003ca href=\"https://www.javascript-jedi.com\"\u003eBlog\u003c/a\u003e\n\u003c/p\u003e\n\n# About LetsForm\n**LetsForm** is an open source tool to generate React forms with simple JSON schemas using native UI components: Material UI, AntD, RSuite, ReactBootstrap, Mantine or just React\n\n* **forget tedious boilerplate** copy and paste everytime you need to add a field. No more copy and paste from old code\n\n* build the form **visually** with [LetsForm designer](https://designer.letsform.dev)\n\n* based on the performant **React Hook Form**, no more unwanted re-renders even with complex forms\n\n* keep **visual consistency** of the form, with a JSON form schema all forms are rendered in the same way across all pages,\nwith the same margins, colors, customizations and components.\n\n* [validation](https://letsform.dev/advanced/validation) out of the box with **i18n** and scripting support\n\n* [multi-language](https://letsform.dev/lets-form-designer/automatic-translations) **(i18n) support** and\n[automatic translations of i18n tokens](https://letsform.dev/lets-form-designer/i18n-support#autocomplete-translations)\n\n* [implement dynamic forms](https://letsform.dev/advanced/form-scripts) with the language you love - JavaScript -\nand a simple set of instructions\n\n* use **form features you will certainly need** in every project like splitting the form in\n[tabs](https://letsform.dev/components/tabs#tabs), [steps](https://letsform.dev/components/steps),\n[collapsible groups](https://letsform.dev/components/group) or [columns](https://letsform.dev/components/two-columns)\n\n* easily switch **form modes**: [editable, disabled, read only and plaintext](https://letsform.dev/advanced/form-modes)\n(you will never have to write form confirmation views)\n\n* [support for arrays](https://letsform.dev/components/array), just define the fields of the array and you'll get the\n**UI to add, remove and validate** the items in the array\n\n* over **30** [components](https://letsform.dev/components-matrix) with consistent behaviour and properties\n\n* full set of [helpers](https://letsform.dev/advanced/helpers) to **programmatically interact** with JSON form schemas\n\n* **toolchain** to organize your forms in [projects](https://letsform.dev/lets-form-designer/projects) with\n[versioning](https://letsform.dev/lets-form-designer/versioning) and integration with\n[GitHub](https://letsform.dev/lets-form-designer/export-to-github), [NPM](https://letsform.dev/lets-form-designer/export-to-npm)\nor your [repository](https://letsform.dev/lets-form-designer/export-to-file)\n\n* **leverage** [ready-to-use and useful form templates](https://letsform.dev//lets-form-designer/templates) (like cascading\ndrop downs of all countries and provinces in all languages or credit card with validation)\n\n* JSON forms can be **created programmatically**, for example in those use cases where a form is defined after introspection\nof a data scheme (database table, GraphQL schema, etc.)\n\n# Getting started\nInstall LetsForm\n\n```\nnpm i lets-form -D\n```\n\nthen try a simple JSON form schema with just one text field (or use the [LetsForm Designer](https://designer.letsform.dev) to create one), for example using **RSuite** components\n\n```js\nimport React from 'react';\nimport LetsForm from 'lets-form/react-rsuite5';\n// or /react-antd or /react-bootstrap or /react-material-ui or /react-mantine or /react\n// see https://letsform.dev/docs for more info about specific frameworks\n\nimport 'rsuite/dist/rsuite.min.css';\n\n// copied and pasted from LetsForm Designer\nconst MY_FORM = {\n  \"$schema\": \"https://cdn.jsdelivr.net/npm/lets-form/schemas/react-rsuite5/form.json\",\n  \"version\": 1,\n  \"layout\": \"vertical\",\n  \"validationMode\": \"onSubmit\",\n  \"fluid\": true,\n  \"fields\": [\n    {\n      \"component\": \"input-text\",\n      \"label\": \"My Field\",\n      \"name\": \"my_field\"\n    }\n  ],\n  \"name\": \"Simplest example\"\n};\n\nconst MyView = () =\u003e {\n  return (\n    \u003cLetsForm\n      form={MY_FORM}\n      // or onChange\n      onSubmit={(values =\u003e {\n        console.log('Submitting...', values);\n      }}\n    /\u003e\n  );\n}\n```\n\n## The MIT License\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nCoded with :heart: in :it:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidone%2Flets-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguidone%2Flets-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidone%2Flets-form/lists"}