
A simple package that makes working with Chakra UI and Formik cleaner and easier.
chakra-fields is a simple package that makes working with Chakra UI and formik together easier. It turns Chakra UI form components into controlled components using formik state, while allowing for 100% extensible styling. This package aims to minimize repetitive code and handle some caveats of using Chakra UI components and formik together.
To install chakra-fields, follow these steps:
npm install chakra-fields
import { TextField, TextareaField, NumberField, SelectField, CheckboxField } from 'chakra-fields';
chakra-fields is a convenient package for using Chakra UI and formik together. It simplifies the process, reduces code repetition, and provides extensible styling options. The package handles common challenges when combining Chakra UI components with formik and offers additional features such as form validation and reusability. With chakra-fields, developers can create cleaner and more efficient forms with Chakra UI.

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Chakra UI is a popular open-source React component library that provides a set of accessible and customizable UI components to help developers create modern web applications.
Formik is a popular form library for React that helps with form state management, validation, and submission handling. It provides a declarative approach to building forms with support for complex validation scenarios and easy integration with validation libraries like Yup.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.