2.0.2 • Published 19 days ago

@unleashit/quick-form v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
19 days ago

Quick Form

NPM npm (scoped) npm bundle size

Quick Form is a form builder that lets you crank out simple forms fast. It's a wrapper for React Hook Form that handles much of the manual setup while still providing enough customization for typical needs. It produces the form based on a configuration, handles both client and server* validation and comes with basic styling.

* When no config or schema are provided, Quick Form defaults as a standard contact form.

quick form

Features

  • Simple form builder. Contact form by default.
  • Custom fields: input, checkbox, textarea and select (more will be added)
  • Validation with Zod schemas
  • Handles server validation errors (response must be expected type)
  • Shows a success component on success and/or fires your onSuccess() function
  • Toast support
  • Error handling
  • Custom header and footer
  • Shows a default or custom loader
  • Basic CSS provided in both namespaced BEM and CSS module formats
  • Unique CSS module support: can provide your own css module styles to internal components without having to write global CSS.
  • Typescript

Install

npm install @unleashit/quick-form

Required peer dependencies: react, react-hook-form, @hookform/resolvers and zod.

Documentation

https://unleashit.github.io/npm-library/components/quickForm

Demo

https://npm-library-demo.vercel.app/quick-form

2.0.2

19 days ago

2.0.1

21 days ago

2.0.0

21 days ago

1.3.2

2 months ago

1.3.1

3 months ago

1.3.0

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.14

4 months ago

1.1.13

4 months ago

1.1.12

4 months ago

1.1.11

4 months ago

1.1.9

4 months ago

1.1.8

4 months ago

1.1.7

4 months ago

1.1.6

4 months ago

1.1.5

4 months ago

1.1.10

4 months ago

1.1.3

4 months ago

1.1.1

5 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago