Skip to content

CollabCreators/formsy-react-components

This branch is 1 commit ahead of twisty/formsy-react-components:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f284533 · Jul 13, 2021
Jul 13, 2021
Jun 14, 2021
Mar 15, 2021
Jul 6, 2019
Jun 14, 2021
Jan 6, 2017
Jun 14, 2021
Jul 13, 2021
Mar 15, 2019
Oct 30, 2015
Apr 29, 2015
Mar 18, 2019
Jun 14, 2021
Jun 14, 2021
Mar 11, 2020
Mar 12, 2020
Mar 11, 2020
Jun 14, 2021

Repository files navigation

formsy-react-components

Build Status npm version GitHub release GitHub contributors

Note: The work here on the master branch is for upcoming release that supports Bootstrap 4. The source for current (1.x) releases can be found on the release-1.x branch.


formsy-react-components is a selection of React components that render form elements for use in a formsy-react form.

The components render markup to be quickly included in a Bootstrap 4 form. This includes a <label>, help text, and some validation styling tied to formsy’s validation state and validation messages.

Install

To install using yarn:

yarn add formsy-react
yarn add formsy-react-components@next

To install using npm:

npm install --save formsy-react
npm install --save formsy-react-components@next

Browser Support

This should run on browsers where both Bootstrap and React are supported.

  • Internet Explorer: polyfills for Set and Array.from are required.

Usage

import { Form, Input } from 'formsy-react-components';

const MyForm = (props) => {
  return (
    <Form onSubmit={(data) => { console.log(data) }}>
      <Input
        name="firstname"
        label="What is your first name?"
      />
    </Form>
  )
}

Examples

Documentation

Documentation is a work in progress!

  • For a working code example, visit the Playground, then examine the source.
  • There is some information in /docs.

About

Bootstrap components for a formsy-react form.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.1%
  • JavaScript 8.6%
  • Shell 0.3%