1.1.11 • Published 10 days ago

formfusion v1.1.11

Weekly downloads
-
License
BSD-2-Clause lice...
Repository
github
Last release
10 days ago

FormFusion by CoreLab UI

npm version

The FormFusion library is an efficient and adaptable solution for handling forms with built-in validation, full accessibility and completely customizable look simplifying the development process and improving user experience.

FormFusion Leverages the native HTML validation and extends the native input types to include:

  • alphanumeric
  • alphabetic
  • numeric
  • username
  • credit-card-number
  • ccv
  • uuid
  • ssn
  • ...and many more - See full list of types here

Additionally, FormFusion provides other more specific sets of validation rules such as rules for postcodes validaion, IBAN numbers validation, Licence plates validation etc. These sets are not included in the formfusion package to ensure optimal size and performance but they can be installed separately.

List of available sets:

Features

  • Efficiency: Optimize your form-handling process this powerful, lightweight library.
  • Adaptability: Easily integrate FormFusion into new or existing projects.
  • Out-of-the-Box Validation: Use the built-in validation rules without hassle.
  • Customizable: Tailor the UI to your specific needs and preferences.
  • No dependencies: FormFusion is self-contained and it does not rely on any external dependencies

Installation

You can install FormFusion via npm or yarn:

npm install formfusion

or

yarn add formfusion

Usage

In your main file, import the styles for the formfusion styled version.

import 'formfusion/style.css';

Example of using FormFusion for a simple uncontrolled form with username field with validation

import React from "react";
import { Form, Input } from "formfusion";

const MyForm = () => {
  const onSubmit = (data) => {
    console.log("Form submitted successfully", data);
  };
  return (
    <Form onSubmit={onSubmit}>
      <Input id="username" name="username" type="username" required />
      <button type="submit">Submit</button>
    </Form>
  );
};

export default MyForm;

Start managing your forms efficiently!

For detailed documentation and examples, please visit our Documentation Page.


1.1.11

10 days ago

1.1.10

11 days ago

1.1.9

14 days ago

1.1.8

14 days ago

1.1.7

14 days ago

1.1.6

14 days ago

1.1.5

14 days ago

1.1.4

14 days ago

1.1.3

17 days ago

1.1.2

17 days ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.6

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.11

3 months ago

1.0.10

3 months ago

1.0.2

3 months ago

1.0.1

4 months ago

1.0.0

4 months ago

0.0.2

4 months ago

0.0.1

4 months ago