formik-yup-smartform
v6.0.0
Published
formik-yup-smartform is a lightweight React component that automatically generates forms using Formik and Yup. Just pass a validation schema, field configuration, and submit handler — the form is built for you with validation, error messages, and minimal
Maintainers
Readme
formik-yup-smartform
A dynamic, customizable React form component built with Formik and Tailwind CSS. SmartForm automatically generates form fields based on a configuration object and supports themes, file inputs, checkboxes, radios, and more. Perfect for reducing boilerplate in React forms.
Features
- Generate forms from a simple configuration array.
- Supports all common input types: text, number, email, password, date, checkbox, radio, file, color, range, tel, time.
- Custom themes:
whiteandblack. - Tailwind CSS compatible and fully responsive.
- Automatically handles initial values and form submission.
- Easily extensible for checkbox groups, radio buttons, and file uploads.
Installation
npm install formik-yup-smartform
# or
yarn add formik-yup-smartform