GithubHelp home page GithubHelp logo

pfandrade / jvfloatlabeledtextfield Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jverdi/jvfloatlabeledtextfield

0.0 3.0 0.0 228 KB

UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

License: MIT License

Ruby 1.19% Objective-C 98.81%

jvfloatlabeledtextfield's Introduction

JVFloatLabeledTextField

Build Status Pod Version Pod Platform Pod License

JVFloatLabeledTextField is the first implementation a UX pattern that has come to be known the "Float Label Pattern".

Due to space constraints on mobile devices, it is common to rely solely on placeholders as a means to label fields. This presents a UX problem, in that, once the user begins to fill out a form, no labels are present.

This UI component library, which includes both a UITextField and UITextView subclass, aims to improve the user experience by having placeholders transition into floating labels that hover above the fields after they are populated with text.

Credits for the concept to Matt D. Smith (@mds), and his original design:

Matt D. Smith's Design

Currently, JVFloatLabeledTextField used alone is iOS 6+, but JVFloatLabeledTextView requires iOS 7 due to the use of UITextView's textContainer.

Additional References

How the Float Label Pattern Started - Matt D. Smith
Float Label Pattern - Brad Frost
Material Design - Floating Labels - Google

Ports

JQuery / Zepto.js - Achmad Mahardi
Xamarin.iOS - Greg Shackles
Bootstrap plugin - Matt Powell
JavaFX - Andy Till
JQuery - Mike Mitchell
Android - Henrik Sandström

Added a port? Let me know - @jverdi

jvfloatlabeledtextfield's People

Contributors

artsabintsev avatar b-raines avatar d-ja avatar dimavartanian avatar duemunk avatar fogh avatar gshackles avatar jgrana avatar jverdi avatar laihj avatar maxgabriel avatar mjcuva avatar mkernahan avatar msealand avatar palringoben avatar pfandrade avatar pronebird avatar rcdilorenzo avatar reallyseth avatar ruiaaperes avatar stevemoser avatar synchromation avatar victorjiang avatar victorjiang-zz avatar zhukn1 avatar

Watchers

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