# ez-formik

> Easy-to-use components to use with formik - hence the name ez-formik.

Latest version **0.2.0** (published 2018-10-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install ez-formik
pnpm add ez-formik
yarn add ez-formik
bun add ez-formik
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2018-10-27 |
| First published | 2018-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 249 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Duc Nguyen |
| Maintainers | ngduc |
| Keywords | react, easy, formik, component |

## Links

- npm: https://www.npmjs.com/package/ez-formik
- Repository: https://ngduc@github.com/ngduc/ez-formik
- Homepage: https://github.com/ngduc/ez-formik#readme
- Issues: https://github.com/ngduc/ez-formik/issues
- npm.io page: https://npm.io/package/ez-formik

## Dependencies (3)

- [dotenv](https://npm.io/package/dotenv.md) ^6.1.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [pick-react-known-prop](https://npm.io/package/pick-react-known-prop.md) ^0.1.5

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2018-10-27
- 0.1.3 — 2018-10-26
- 0.1.2 — 2018-10-25
- 0.1.1 — 2018-10-25
- 0.1.0 — 2018-10-25
- 0.0.2 — 2018-10-24
- 0.0.1 — 2018-10-24

## README

# ez-formik

[![Build Status](https://travis-ci.org/ngduc/ez-formik.svg?branch=master)](https://travis-ci.org/ngduc/ez-formik)

Easy-to-use components to use with [formik](https://github.com/jaredpalmer/formik) - hence the name ez-formik.

*"Let it take care of the work so you don't have to"*

- Live example: [Codesandbox](https://codesandbox.io/s/y7vwzp2091)

### 🌟 Features

[![Screenshot](screenshot-compare.png)](src/EzFormikExample.tsx)

```
Easy    Flexible    Consistent    Fast    Layouts    Themes    More Types
```

Not just shorter syntax, it's also offering:
- Formik is easy, ez-formik is ...easier, duh `¯\_(ツ)_/¯`
- Simplified Formik but will not stand in your way. You are free to follow Formik at any point.
- Consistent rendering, stylings (for big projects)

And more:
- Layouts (vertical, horizontal)
- Work with different CSS Frameworks / Form Layouts (tentcss (default), bootstrap, spectre, etc.)
- Use FastField to avoid [too many re-renders](https://twitter.com/jaredpalmer/status/962114095481851910?lang=en)
- More types of fields.

### 📦 Usage

```JS
$ npm install ez-formik

import { Form, Field, Button } from 'ez-formik'; // or: EzForm, EzField, EzButton

<Form use="bootstrap">
  <Field>Email | email</Field>
  <Field>Birthday | Date of birth (mm/dd/yyyy) | dob</Field>

  <Button type="submit"/>
  <Button>Cancel</Button>
</Form>
```
- Full code example: [Link](src/EzFormikExample.tsx)
- Live example: [Codesandbox](https://codesandbox.io/s/y7vwzp2091)

Result:

[![Screenshot](screenshot.png)](src/EzFormikExample.tsx)

### 📖 Documentation

[Change Log](/CHANGELOG.md)

### 🙌 Thanks

All contributions are welcome!

---
_Source: https://npm.io/package/ez-formik · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
