form-builder
Build accessible forms with React Hook Form + Zod
When & Why to Use This Skill
This Claude skill streamlines the development of accessible, type-safe forms in React by integrating React Hook Form and Zod. It automates the creation of high-performance form structures, schema-based validation, and submission logic, ensuring developers can build WCAG-compliant and error-free user interfaces with minimal boilerplate.
Use Cases
- Rapidly generating complex registration or checkout forms with real-time Zod schema validation and type safety.
- Implementing accessible (A11Y) contact forms that adhere to web standards and provide seamless screen reader support.
- Building data-intensive administrative dashboards that require efficient form state management and minimal re-renders.
- Refactoring legacy React forms to a modern stack using React Hook Form for better performance and maintainability.
| name | form-builder |
|---|---|
| description | Build accessible forms with React Hook Form + Zod |
| license | MIT |
| author | danielmeppiel |
| version | "1.0.0" |
| compatibility | React 18+, TypeScript 5+ |
Form Builder
Build accessible, type-safe forms in React.
When to Use
Activate when user asks to:
- Create any form (contact, signup, login, checkout, etc.)
- Add form validation
- Handle form submission
Stack
- React Hook Form — form state, minimal re-renders
- Zod — schema validation
- @hookform/resolvers — connects them
Examples
- Contact form — full implementation
- Newsletter signup — minimal implementation
Install
npm install react-hook-form @hookform/resolvers zod