0.0.8 • Published 6 years ago
react-uniform-builder v0.0.8
React Uniform Builder
A react component to dynamically build reusable forms. See the demo here
Acknowledgements
React Uniform Builder is built on top of uniforms and simple-schema with styling inspiration from formBuilder
This project is maintained by Amdirent, Inc. If you'd like to build forms that hook up to arbitrary processes, and a dynamically created database table, check out Amdirent Opslab
Usage
Installing
npm install --save react-uniform-builder
or
yarn add react-uniform-builder
Quick Start
First, ensure you have loaded bootstrap4 css. This library can be used with completely custom components and custom styling, but defaults exist for bootstrap.
import FormBuidler, { defaults } from 'react-uniform-builder';
const MyFormBuilder = () => (
<FormBuilder onSchemaChange={console.log} {...defaults.bootstrap4} />
)