{"id":30593368,"url":"https://github.com/techwithty/zod-react-form-auto","last_synced_at":"2025-12-30T21:34:47.490Z","repository":{"id":310907274,"uuid":"1041713578","full_name":"TechWithTy/zod-react-form-auto","owner":"TechWithTy","description":"Authentication form components for Next.js with Zod validation and strong SEO defaults.","archived":false,"fork":false,"pushed_at":"2025-08-20T22:54:38.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-21T00:29:44.042Z","etag":null,"topics":["auth","form","nextjs","react","seo","typescript","ui","zod"],"latest_commit_sha":null,"homepage":"https://www.cybershoptech.com","language":"TypeScript","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/TechWithTy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-08-20T22:54:26.000Z","updated_at":"2025-08-20T22:54:41.000Z","dependencies_parsed_at":"2025-08-21T00:29:50.962Z","dependency_job_id":"0c2eab4a-ea8c-43cb-b54e-5e1dcd3c9572","html_url":"https://github.com/TechWithTy/zod-react-form-auto","commit_stats":null,"previous_names":["techwithty/zod-react-form-auto"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TechWithTy/zod-react-form-auto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fzod-react-form-auto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fzod-react-form-auto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fzod-react-form-auto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fzod-react-form-auto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechWithTy","download_url":"https://codeload.github.com/TechWithTy/zod-react-form-auto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fzod-react-form-auto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272735316,"owners_count":24984283,"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","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["auth","form","nextjs","react","seo","typescript","ui","zod"],"created_at":"2025-08-29T18:13:40.829Z","updated_at":"2025-12-30T21:34:47.446Z","avatar_url":"https://github.com/TechWithTy.png","language":"TypeScript","readme":"# @your-scope/zod-react-form-auto (local externalized)\n\nA small AutoForm for React + Zod + react-hook-form that renders fields from a Zod schema. This is the externalized copy living inside this repo for local integration and testing.\n\n## Install (when published)\n\n```bash\npnpm add @your-scope/autoform zod react react-dom react-hook-form @hookform/resolvers\n```\n\nPeer dependencies expected in the host app: react, react-dom, react-hook-form, zod, @hookform/resolvers.\n\n## Local usage (pre-publish)\n\nWhile this folder lives inside the app repo, you can import directly from the local source:\n\n```ts\nimport { AutoForm, useZodForm } from \"../../components/external/zod-react-form-auto/src\";\nimport \"../../components/external/zod-react-form-auto/styles/index.css\";\n```\n\n## Next.js example (React 19)\n\n```tsx\nimport { z } from \"zod\";\nimport { useZodForm, AutoForm } from \"@your-scope/autoform\";\n\nconst schema = z.object({\n  name: z.string().min(1),\n  temperature: z.number().min(0).max(1).default(0.7),\n  language: z.enum([\"en\", \"es\"]).default(\"en\"),\n});\n\nexport default function Page() {\n  const form = useZodForm(schema, { defaultValues: { name: \"\" } });\n  return (\n    \u003cAutoForm\n      schema={schema}\n      form={form}\n      onSubmit={(values) =\u003e console.log(values)}\n      fields={{\n        temperature: { widget: \"slider\", min: 0, max: 1, step: 0.1 },\n        language: {\n          widget: \"select\",\n          options: [\n            { value: \"en\", label: \"English\" },\n            { value: \"es\", label: \"Spanish\" },\n          ],\n        },\n      }}\n    /\u003e\n  );\n}\n```\n\n## Exports\n\n- AutoForm\n- AutoField\n- useZodForm\n- unwrapType\n- types: FieldsConfig, AutoFieldProps\n\n## Styles\n\nA minimal default stylesheet is available at `@your-scope/autoform/styles` and in this local copy under `styles/index.css`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fzod-react-form-auto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwithty%2Fzod-react-form-auto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fzod-react-form-auto/lists"}