rhf-dynamic-field-arrays
OfficialDynamically manage form arrays in React forms.
Software Engineering#typescript#frontend#zod#react-hook-form#dynamic-form#form-validation#usefieldarray
AuthorAgentient
Version1.0.0
Installs0
System Documentation
What problem does it solve?
React forms with dynamic lists often require duplicating UI and state logic. This Skill provides a structured approach using React Hook Form's useFieldArray with Zod validation to manage dynamic item arrays safely and efficiently.
Core Features & Use Cases
- Create and manage dynamic lists (add, remove, reorder) in forms.
- Validate arrays with Zod (min/max, nested objects) to ensure data integrity.
- Use field.id as the stable key to prevent UI order bugs when items are rearranged.
Quick Start
Create a dynamic form that uses useFieldArray to manage an array of items and validates them with a Zod schema.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rhf-dynamic-field-arrays Download link: https://github.com/Agentient/vibekit/archive/main.zip#rhf-dynamic-field-arrays Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.