{"id":38335987,"url":"https://github.com/buildnbuzz/buzzform","last_synced_at":"2026-05-11T22:01:16.007Z","repository":{"id":331558147,"uuid":"1125429353","full_name":"buildnbuzz/buzzform","owner":"buildnbuzz","description":"BuzzForm: A simple, customizable React form library for shadcn/ui and Next.js. Declare fields once, fully control rendering, and get live validation + server actions with minimal boilerplate. Powered by React Hook Form + Zod. Ideal for polished dashboards and SaaS apps. Made by BuildnBuzz.","archived":false,"fork":false,"pushed_at":"2026-05-11T16:37:01.000Z","size":2224,"stargazers_count":98,"open_issues_count":20,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-11T16:39:14.908Z","etag":null,"topics":["nextjs","react","react-hook-form","shadcn-ui","tailwindcss","zod"],"latest_commit_sha":null,"homepage":"https://form.buildnbuzz.com","language":"TypeScript","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/buildnbuzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-30T17:57:24.000Z","updated_at":"2026-05-11T14:58:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/buildnbuzz/buzzform","commit_stats":null,"previous_names":["buildnbuzz/buzzform"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/buildnbuzz/buzzform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildnbuzz%2Fbuzzform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildnbuzz%2Fbuzzform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildnbuzz%2Fbuzzform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildnbuzz%2Fbuzzform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildnbuzz","download_url":"https://codeload.github.com/buildnbuzz/buzzform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildnbuzz%2Fbuzzform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32914533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nextjs","react","react-hook-form","shadcn-ui","tailwindcss","zod"],"created_at":"2026-01-17T02:56:22.606Z","updated_at":"2026-05-11T22:01:15.924Z","avatar_url":"https://github.com/buildnbuzz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BuzzForm\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![npm version](https://img.shields.io/npm/v/@buildnbuzz/form-core.svg)](https://www.npmjs.com/package/@buildnbuzz/form-core)\n[![React](https://img.shields.io/badge/React-18%20%7C%2019-61dafb.svg)](https://react.dev)\n[![Next.js](https://img.shields.io/badge/Next.js-16-black.svg)](https://nextjs.org)\n\nA schema-driven form library for React built on TanStack Form. Define your form once and get type-safe forms with validation, conditional logic, and full rendering control.\n\nBuzzForm separates form logic from UI — define schemas in plain TypeScript, get automatic type inference, and render with your favorite UI library (shadcn/ui, Radix, Mantine, or custom components).\n\nPerfect for settings pages, dashboards, and SaaS apps that need flexible, maintainable forms.\n\n## ✨ Features\n\n- **Schema-Driven Forms** — Define your form structure in a simple TypeScript object\n- **Full Type Safety** — End-to-end TypeScript with auto-inferred types from your schema\n- **TanStack Form Core** — Built on TanStack Form for battle-tested state management\n- **UI Agnostic** — Bring your own UI or use the shadcn/ui registry components\n- **17+ Field Types** — Text, Number, Password, Select, Date, Checkbox, Switch, Radio, Textarea, Tags, Array, Group, Collapsible, Tabs, Row, and more\n- **Conditional Logic** — Show/hide/disable fields with declarative conditions (no callbacks)\n- **Auto Validation** — Validators derived from schema properties plus custom rules\n- **Dynamic Values** — Reference other fields or external context in labels, defaults, and validators\n- **Minimal Boilerplate** — Focus on your form logic, not wiring\n\n## 📦 Monorepo Structure\n\nThis Turborepo contains:\n\n```\n├── apps/\n│   └── web/                    # Documentation site \u0026 component registry\n│\n├── packages/\n│   ├── form-core/              # Framework-agnostic primitives (@buildnbuzz/form-core)\n│   ├── form-react/             # React adapter (@buildnbuzz/form-react)\n│   ├── buzzform/               # DEPRECATED - legacy package\n│   └── eslint-config/          # Shared ESLint config\n```\n\n### Apps\n\n| Directory  | Description                                                                                                                      |\n| ---------- | -------------------------------------------------------------------------------------------------------------------------------- |\n| `apps/web` | The BuzzForm documentation website, component registry, and showcase examples. Built with Next.js, Fumadocs, and TailwindCSS.    |\n\n### Packages\n\n| Package                    | Description                                                                                            |\n| -------------------------- | ------------------------------------------------------------------------------------------------------ |\n| `@buildnbuzz/form-core`    | **Core Package** — Framework-agnostic schema types, validation, and utilities. Zero DOM dependencies.  |\n| `@buildnbuzz/form-react`   | **React Adapter** — React primitives built on TanStack Form. Hooks, providers, and field renderers.    |\n| `@buildnbuzz/buzzform`     | **Deprecated** — Legacy package. Migrate to `form-core` + `form-react`. See [Migration Guide](https://form.buildnbuzz.com/docs/migration). |\n\n## 🚀 Quick Start\n\n### Installation\n\n**With shadcn/ui:**\n```bash\n# Add registry to components.json first, then:\nnpx shadcn@latest add @buzzform/all\n```\n\n**Headless / Custom UI:**\n```bash\npnpm add @buildnbuzz/form-core @buildnbuzz/form-react\n```\n\nSee [Installation](https://form.buildnbuzz.com/docs/installation) for full setup instructions.\n\n### Basic Usage\n\n```tsx title=\"lib/schemas/contact.ts\"\nimport { defineSchema, type InferType } from \"@buildnbuzz/form-core\";\n\nexport const contactSchema = defineSchema({\n  fields: [\n    { type: \"text\", name: \"name\", label: \"Full Name\", required: true },\n    { type: \"email\", name: \"email\", label: \"Email\", required: true },\n  ],\n});\n\nexport type ContactData = InferType\u003ctypeof contactSchema.fields\u003e;\n```\n\n```tsx title=\"app/contact-form.tsx\"\nimport { contactSchema } from \"@/lib/schemas/contact\";\nimport { Form, FormContent, FormFields, FormSubmit } from \"@/components/buzzform/form\";\n\nexport function ContactForm() {\n  return (\n    \u003cForm schema={contactSchema} onSubmit={({ value }) =\u003e console.log(value)}\u003e\n      \u003cFormContent\u003e\n        \u003cFormFields /\u003e\n        \u003cFormSubmit\u003eSend Message\u003c/FormSubmit\u003e\n      \u003c/FormContent\u003e\n    \u003c/Form\u003e\n  );\n}\n```\n\nSee [Quick Start](https://form.buildnbuzz.com/docs/quick-start) for a complete example with validation and server actions.\n\n## 🛠 Development\n\n```bash\npnpm install    # Install dependencies\npnpm dev        # Start development\npnpm build      # Build all packages\n```\n\nSee [Development](https://form.buildnbuzz.com/docs/development) for detailed setup.\n\n## 📚 Documentation\n\nVisit [form.buildnbuzz.com](https://form.buildnbuzz.com) for full documentation:\n\n- [Quick Start](https://form.buildnbuzz.com/docs/quick-start)\n- [Installation](https://form.buildnbuzz.com/docs/installation)\n- [Schema Reference](https://form.buildnbuzz.com/docs/schema)\n- [Validation](https://form.buildnbuzz.com/docs/validation)\n- [Custom Fields](https://form.buildnbuzz.com/docs/custom-fields)\n\n## 🤝 Contributing\n\nContributions welcome! See [Contributing Guide](https://form.buildnbuzz.com/docs/contributing) for details.\n\n## 📄 License\n\nMIT © [Parth Lad / BuildnBuzz](LICENSE)\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made with 💛 by \u003ca href=\"https://buildnbuzz.com\"\u003eBuildnBuzz\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildnbuzz%2Fbuzzform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildnbuzz%2Fbuzzform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildnbuzz%2Fbuzzform/lists"}