Changelog
v1.12.0March 2026
React Hook Form Integration
A new documentation page covers integrating Drivn components with React Hook Form and Zod. Select and Switch also receive a fix that prevents unintended form submissions when used inside form elements.
What's new
React Hook Form Docs
The new guide walks through using Drivn components with React Hook Form and Zod validation — covering Input, Textarea, Checkbox, Select, Radio Group, Switch, Slider, and Date Picker. Includes a login form, a multi-field contact form, and complete code examples with schema definitions.
Select & Switch Form Fix
Both Select and Switch now render their interactive elements with type="button" to prevent triggering form submission when used inside a form. This fix applies to the registry components shipped via the CLI as well.