GithubHelp home page GithubHelp logo

brcarey / chillisource.web.forms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bluechilli/chillisource.web.forms

0.0 2.0 0.0 27.66 MB

:memo: Form and form elements built in React

License: MIT License

HTML 0.12% JavaScript 96.13% CSS 0.78% TypeScript 2.97%

chillisource.web.forms's Introduction

ChilliSource.Web.Forms License: MIT

This project is part of the ChilliSource framework developed by BlueChilli.

Summary

ChilliSource.Web.Forms is a collection of React form components, helpers and abstractions that are shared across all React-based ChilliSource.Web frameworks.

Main Features

Reusable Components

Standard components like input, button and the rest are already available to use directly in React projects. Our components build upon these standard components to provide React-style way of using them. The list:

  • CheckBox
  • DatePicker
  • DropZone
  • Form
  • Input
  • Number
  • Radio
  • Select
  • Switch (base component for CheckBox & Radio)
  • TextArea

State Retention

The state of the form is stored within the Form itself. Although this framework can be used with Redux, not having it within your stack will not prevent you from using it.

Validations

All the components can have their own validation(even custom validation is allowed) with custom validation messages as your project requires. The Validation component provides the necessary implementation so that you can directly start using them.

<Input name="sample-input" required maxLength="6">
  <Validation isFor="required">This input can not be blank.</Validation>
  <Validation isFor="maxLength">You can only enter a max of 50 characters</Validation>
</Input>

Installation

The library is available via NPM here

npm install --save cs.forms

Releases

See the releases.

Contribution

Please see the contribution guide.

License

ChilliSource.Web.Forms is licensed under the MIT license.

Feedback and Contact

For questions or feedback, please contact us at [email protected]

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.