@abw/badger-form
v1.1.3
Published
React form library
Downloads
156
Readme
badger-form
This is a React form library built on the styles provided by badger-css.
It is a work in progress. Use at your own risk.
Getting Started
Add the @abw/badger-form
module to your project using your favourite
package manager.
## using npm
$ npm add @abw/badger-form
## using yarn
$ yarn add @abw/badger-form
## using pnpm
$ pnpm add @abw/badger-form
You can then import the modules and start using them.
import { Form, Field, Submit } from '@abw/badger-form'
Documentation
Documentation and examples can be found at https://abw.github.io/badger-form/
Please be warned that this is a work in progress.
Notes for Maintainers
Check out the repository.
$ git clone https://github.com/abw/badger-form.git
$ cd badger-form
Install the dependencies.
$ pnpm install
To run the development server.
$ pnpm dev
To run the tests.
$ pnpm test
To build everything (library, CSS and documentation) for production.
$ pnpm build
To build the library only.
$ pnpm build:lib
To build the CSS only.
$ pnpm build:css
To build the documentation only.
$ pnpm build:docs
To preview the documentation.
$ pnpm preview
Check source code for formatting errors.
$ pnpm lint
Author
Andy Wardley