React Hook Form
Installation
SKILL.md
React Hook Form
When to Use
- Forms with 3+ fields or non-trivial validation logic
- Dynamic or conditional fields that appear/disappear based on user input
- Multi-step wizards where state persists across steps
- Field arrays (add/remove/reorder rows dynamically)
- Any form integrated with Zod schema validation
When NOT to use:
- Single input (search bar, toggle) —
useStateis simpler and sufficient - Forms fully managed by a UI library that has its own form state (e.g., Ant Design Form)
- Server-only form handling (Next.js Server Actions with no client-side validation)