formus

React Form Creator

Usage no npm install needed!

<script type="module">
  import formus from 'https://cdn.skypack.dev/formus';
</script>

README

Formus

React form generation using simple components.

Why?

Two reasons:

  1. I want to learn how to use the React Context API.
  2. Forms are complicated using vanilla React.

Work In Progress

Please note: This library is under development and may never actually fully work.

Features in Progress

  • Textbox
    • Password
    • Email
    • Number
  • Checkbox for a single field
  • Radio button for a single field

Future

Field Types

  • Textarea
  • Select box with Options
  • Checkbox list for creating an array of values
  • Subscopes

Additional Features

  • Pristine
  • Touched
  • Errors
  • Validation
  • Dirty
  • Submits
  • Form invalid
  • Form dirty
  • External error sources