@corpuscule/form
TypeScript icon, indicating that this package has built-in type declarations

0.14.2 • Public • Published

🛠 Status: In Development

This package is currently under heavy development. Feedback is always welcome, but be careful with using it in production. API is not ready yet and can receive large changes.

@corpuscule/form

Latest Stable Version Package size

Lightweight set of decorators for providing solid form experience for web components. Works as a connector to 🏁 Final Form.

Features

Installation

$ npm install --save final-form @corpuscule/form

or

$ yarn add final-form @corpuscule/form

Documentation

API documentation is available for the following modules:

Examples

Simple Form

Uses the default inputs: input, select, and textarea to build a form with no validation.

Synchronous Record-Level Validation

Introduces a whole-record validation function and demonstrates how to use Field component to display errors next to fields.

Synchronous Field-Level Validation

Introduces field-level validation functions and demonstrates how to use Field component to display errors next to fields.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.14.2
    1
    • latest

Version History

Package Sidebar

Install

npm i @corpuscule/form

Weekly Downloads

2

Version

0.14.2

License

MIT

Unpacked Size

29.6 kB

Total Files

5

Last publish

Collaborators

  • lodin