Skip to content

form-js/forms.js

Repository files navigation

Forms.js

Documentation

Npm package total downloads Code Coverage GitHub issues License GitHub stars
PRs Welcome Node.js Version TypeScript Supported

Forms.js - Streamline web forms

Forms.js is an advanced, lightweight JavaScript library designed to ease form creation and management. Utilizing JSON for data input, it generates dynamic, user-centric forms, offering an unparalleled development experience.

Get Started with Forms.js ⚡️

Features at a Glance

  • Rapid Development: Create complex, interactive forms in minutes.
  • Comprehensive Field Types: Includes text, file, date/time, rich text, and more.
  • Conditional Logic & Validation: Tailor form behavior and validation to user input.
  • Event Handling: Simplified event management for dynamic user experiences.
  • Extensibility: Designed for customization and extension.
  • Accessibility & Clean API: Ensures ease of use for developers and accessibility for users.

Installation

Via NPM

npm i @forms.js/core

Quick start

import { Form } from '@forms.js/core';

const options = {
    id: "form",
    schema: [
        ...
    ],
}

const form = new Form("form-element", options);

Requires css

@import '@forms.js/core/css/index.css';

Dive deeper into Forms.js with the official documentation.

Contributing

If you want to contribute look at CONTRIBUTING.md.

License

Core bundle released under MIT license. This license permits a wide range of use, including free use in commercial projects, assuming all copyright headers are preserved. Read the license terms

About

Fully featured javascript form builder

Topics

Resources

Contributing

Stars

11 stars

Watchers

1 watching

Forks

Contributors