Form
React Hook Form integration with optional Zod resolvers.
Live preview
With Zod
tsx
API
| Prop | Type | Default | Description |
|---|---|---|---|
| onSubmit | SubmitHandler<T> | — | Called with validated values. |
| formOptions | UseFormProps<T> | — | Forwarded to useForm (resolver, defaultValues, etc.). |
| className | string | — | Additional class names merged with component styles. |
Accessibility
Uses native form validation hooks; surface errors next to fields.