New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

informed

Package Overview
Dependencies
Maintainers
1
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

informed

A lightweight framework and utility for building powerful forms in React applications

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14K
decreased by-12.24%
Maintainers
1
Weekly downloads
 
Created
Source

Informed

By the creators of react-form

Go to live examples, code and docs!

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>

Keywords

FAQs

Package last updated on 18 Jun 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc