Declarative bindings that connect Ant Design components to Formik forms with minimal configuration.
Formik-antd is a React library that provides declarative bindings between Ant Design's UI components and Formik's form state management. It solves the problem of manually wiring Ant Design form components to Formik by adding a simple `name` prop that automatically syncs component values with Formik's form state.
React developers building forms with Ant Design who want to leverage Formik's form state management, validation, and submission handling without manual integration work.
Developers choose formik-antd because it provides a seamless, zero-boilerplate integration between two popular libraries, preserving the full API of both while eliminating the need for manual value/change handler wiring.
Simple declarative bindings for Ant Design and Formik.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Adds a required `name` prop to Ant Design components, automatically syncing them with Formik fields without manual wiring, as shown in the basic example code.
All original Ant Design component props and features remain unchanged, ensuring developers can leverage the full UI library without limitations.
Supports both form-level and field-level validation using Formik's callbacks, with clear examples for validation feedback via Form.Item components.
Optional `fast` prop enables Formik's FastField for performance improvements in large forms, as documented in the README.
Includes comprehensive TypeScript definitions for type-safe development, making it suitable for enterprise-grade applications.
As admitted in the README, TypeScript cannot enforce types of children, so typos in field names won't be caught at compile time, reducing type safety.
Advanced tree-shaking setups require babel plugins and custom configurations like `react-app-rewired`, which can be cumbersome and unsupported in standard Create React App environments.
Separate installs for Ant Design 4 and 5 (beta) indicate potential breaking changes and maintenance challenges when upgrading either library.
Only useful if committed to both Ant Design and Formik; offers no flexibility for other UI libraries or form managers, creating vendor lock-in.