UNPKG

styled-hook-form

Version:

React form library for styled-components based on grommet and react-hook-form

29 lines (21 loc) 1.31 kB
# styled-hook-form An smart React form built on top of `grommet`, `react-hook-form` and `react-context-api` and written completely in typescript. # Motivation In daily programming life, we developers always suffer from a very annoying phenomenon called boilerplate code and doing CRUD in react application is not an exception.With that said i've decided to craft something smart on top of cool react libraries to eliminate repeated code and provide developers with a base to immediately start creating fully functional forms without filling components with boilerplate callback and state management codes. # Status This library is still in the early days of development and is not production-ready. But of course, you can install and use it at your own risk. # Installation Cancel changes To start using this library issuing the following in you'r preferred terminal would be enough: ``` yarn add styled-hook-form ``` or ``` npm install styled-hook-form ``` There is no css dependency or whatsoever, so you won't be spending you'r precious minutes dealing with css monster 😃. # Working Demo Check this [storybook](https://main--6096dd058e820000392c7809.chromatic.com/) to see `styled-hook-form` in action. Stories are improving constantly , so stay tuned. # Documentation Working on it...