Socket
Book a DemoInstallSign in
Socket

@open-tech-world/react-form

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-tech-world/react-form

Build Forms & Manage Their State in React.

latest
Source
npmnpm
Version
0.15.0
Version published
Maintainers
1
Created
Source

React Form

⚡ by Open Tech World

Build npm bundle size (scoped version)

Build Forms & Manage Their State in React.

Features

  • Simple APIs to use

  • It supports nested & array fields

  • It supports form validation

  • TypeScript support

  • Render optimized

Installation

# With npm
$ npm install @open-tech-world/react-form

# With yarn
$ yarn add @open-tech-world/react-form

Usage

import { Form, Field } from '@open-tech-world/react-form';

export default function App() {
  return (
    <Form
      onSubmit={(values) => {
        console.log(values);
      }}
    >
      <Field name="field1" />
      
      {/* Other fields... */}
      
      <button type="submit">Submit</button>
    </Form>
  );
}

Documentation

Please read the complete documentation at: https://react-form.pages.dev/

License

Copyright (c) Thanga Ganapathy (MIT License).

Keywords

react

FAQs

Package last updated on 05 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts