v0.1.1
FormForge
Modern schema-first form infrastructure for React. Build beautiful forms with almost no setup.
npm install formforges
<FormForge schema={schema} />Why FormForge?
- Schema-driven — define your form once, get layout, validation, and accessibility for free
- Auto layout — smart 2-column grid, collapses to 1 column on mobile automatically
- Zero boilerplate — no field-by-field wiring, no manual state management
- TypeScript-first — strict types throughout, full inference
- Headless — use the hooks, bring your own UI
- Minimal rerenders — field-level subscriptions via useSyncExternalStore
Packages
| Package | Description |
|---|---|
formforges | All-in-one umbrella package |
@formforges/core | Framework-agnostic form engine |
@formforges/react | React renderer + hooks |
@formforges/validator | Validation rules + Zod adapter |
@formforges/layout-engine | Auto responsive grid |
@formforges/themes | Token-based theme system |
@formforges/accessibility | ARIA + focus + keyboard |