Giter Site home page Giter Site logo

paper-input's Introduction

Build status Published on webcomponents.org

<paper-input>

Material design: Text fields

<paper-input> is a single-line text field with Material Design styling.

<paper-input always-float-label label="Floating label"></paper-input>
<paper-input label="username">
  <iron-icon icon="mail" slot="prefix"></iron-icon>
  <div slot="suffix">@email.com</div>
</paper-input>

Changes in 2.0

  • Distribution is now done with slots, so things have changed because of that (before: foo, now foo; same for input, prefix and suffix)
  • Since type extensions are not available, any use of <input is="iron-input"> has been replaced by <iron-input><input></iron-input>. See iron-input for more details about that change
  • prevent-invalid-input and allowed-pattern had to be always used together; deleted prevent-invalid-input, so that only allowed-pattern is needed

paper-input's People

Contributors

notwaldorf avatar tedium-bot avatar abdonrd avatar dfreedm avatar jklein24 avatar addyosmani avatar rictic avatar westbrook avatar e111077 avatar ebidel avatar frankiefu avatar wq9 avatar samuelli avatar jakemac53 avatar blasten avatar danbeam avatar garlicnation avatar mkazlauskas avatar johnbradley avatar robrez avatar jab avatar valdrinkoshi avatar tjsavage avatar pesthuf avatar metanov avatar krozycki avatar jscissr avatar cdata avatar kevashcraft avatar yrral86 avatar

Watchers

James Cloos avatar Patrick Nemenz 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.