azlan-form-builder

1.1.0 • Public • Published

Azlan Form Builder

AFB is a ReactJS Form Builder plugin that is easy to integrate in any react app. It also supports drag and drop updates of form elements.

alt text

Installation

Use the package manager npm to install.

npm install azlan-form-builder

Usage

import FormBuilder from "azlan-form-builder";

/// then use it as

const [items, setItems] = useState([]);

const formUpdate = (newItemsList) => {
  console.log(newItemsList);
  /// you can call an API to save form elements as soon as they are updated
};

<FormBuilder onUpdate={formUpdate} items={items} />

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Package Sidebar

Install

npm i azlan-form-builder

Weekly Downloads

14

Version

1.1.0

License

MIT

Unpacked Size

317 kB

Total Files

17

Last publish

Collaborators

  • aliazlan4