pui-css-forms

forms css component for Pivotal UI based on Bootstrap

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
pui-css-forms
638618.3.36 years ago8 years agoMinified + gzip package size for pui-css-forms in KB

Readme

pui-css-forms
A CSS forms component that can be installed via this npm package. This package provides all of the CSS you need to use the component.

Installation

To install the package from the command line:
npm install pui-css-forms

Usage

<form role="form">
  <div class="form-group">
    <label for="exampleInputEmail1">Email address</label>
    <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
  </div>
  <div class="form-group">
    <label for="exampleInputPassword1">Password</label>
    <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
  </div>
  <div class="checkbox">
    <label>
      <input type="checkbox"> Check me out
    </label>
  </div>
  <button type="submit" class="btn btn-default">Submit</button>
</form>

You can find more examples of the forms component in the pui style guide

This is a component of Pivotal UI, a collection of React
and CSS components for rapidly building and prototyping UIs.
Styleguide Github npm
(c) Copyright 2017 Pivotal Software, Inc. All Rights Reserved.