Giter Club home page Giter Club logo

informed's Introduction

Informed

By the creators of react-form

Informed-Chat Build Status Coverage Status

Introduction

Say hello to the best react form library you have ever used! Informed is an extensive, simple, and efficient solution for creating basic to complex forms in react. Out of the box you get the ability to grab and manipulate values, validate fields, and create custom inputs.

Getting Started

Install with npm
npm install --save informed

Create a Simple Form

import { Form, Text } from 'informed';

<Form id="simple-form">
  <label htmlFor="name-field">First name:</label>
  <Text field="name" id="name-field" />
  <button type="submit">
    Submit
  </button>
</Form>

Create a Complex Form

import { Form, Text, Scope } from 'informed';

<Form id="complex-form">
  <label htmlFor="complex-name">First name:</label>
  <Text field="name" id="complex-name" />
  <Scope scope="favorite">
    <label htmlFor="complex-color">Favorite color:</label>
    <Text field="color" id="complex-color" />
    <label htmlFor="complex-food">Favorite food:</label>
    <Text field="food" id="complex-food" />
  </Scope>
  <label htmlFor="complex-friend-0">Friend 1:</label>
  <Text field="friends[0]" id="complex-friend-0"/>
  <label htmlFor="complex-friend-1">Friend 2:</label>
  <Text field="friends[1]" id="complex-friend-1"/>
  <label htmlFor="complex-friend-2">Friend 3:</label>
  <Text field="friends[2]" id="complex-friend-2"/>
  <button type="submit">
    Submit
  </button>
</Form>

informed's People

Contributors

erikras avatar jacargentina avatar joepuzzo avatar kevinhewson avatar larrybotha avatar vfonic avatar

Watchers

 avatar  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.