Quickstart
Minimal setup
Let’s explore the most basic setup:
In the example above, we create a form based on json schema and use HTML5 validation to validate the form.
Although this is an extremely simple example, it turned out to be quite verbose, and here’s why:
- Explicit Configuration: The library favors explicit configuration over “magic” defaults.
- Tree-Shakeable Architecture: Each feature is located in its own submodule so you can import only the functionality you need, keeping your bundle lean and optimized.
- Highly Customizable: We provide extensive customization options so that you can tailor every aspect of the library to your needs.
UI Schema
With the uiSchema
parameter, you can customize the user interface of the form.
Form state
To access the state of the form you can use properties such as value
and errors