Performant, flexible and extensible forms with easy to use validation
npm install solid-hook-form
Get started |
Playground |
Examples
- Embraces native HTML form validation
- Small size and no dependencies
- TypeScript support
- Supports Yup, Zod, Joi and other @hookform/resolvers schema validation integrations.
``sh`
npm install solid-hook-form
`jsx
import { createForm } from "solid-hook-form";
const ExampleForm = () => {
const { errors, register, handleSubmit } = createForm({
defaultValues: {
name: "",
},
});
const onSubmit = (values) => console.log(values);
return (