GithubHelp home page GithubHelp logo

thbland / formsy-react-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twisty/formsy-react-components

0.0 1.0 0.0 3.64 MB

Bootstrap components for a formsy-react form.

License: MIT License

JavaScript 8.68% Shell 0.34% TypeScript 90.98%

formsy-react-components's Introduction

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.

formsy-react-components's People

Contributors

addexm avatar afgarcia86 avatar almassapargali avatar channaj avatar emax093 avatar erzzo avatar m-r-r avatar mxmtsk avatar rjatkinson2 avatar rodryquintero avatar semigradsky avatar shilman avatar twisty avatar wkerswell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.