I've been experimenting a lot lately with mobile forms. Left aligned, top aligned, placeholder text only, etc. for client projects and personal projects.
Placeholder text works great for a simple username and password form, but not so much when there is more information. It's easy to forget which field is which once you've typed into all of the inputs.
If you opt for left aligned fields always exposed you end up with much less space. And space on mobile is precious. If top aligned fields are always exposed, it makes the vertical height grow very quickly.
This idea combines the best of both worlds with placeholder text and top aligned text. Only the placeholder text is showing by default, so there is a nice, clean and readable form. Once an input field is tapped and text is entered the placeholder text fades out and a top aligned label animates in. This way, with multiple fields a user won't forget what an individual field represents.
Tweet examples to @floatlabel.
-----------------------
Update 1
@jverdi created an iOS prototype here: https://github.com/jverdi/JVFloatLabeledTextField
-----------------------
Update 2
I wrote a blog post "How the Float Label Pattern Started" http://mds.io/S9Ob
-----------------------
Update 3
Google released their "Material" design guidelines on June 25, 2014, which contains "floating labels." Pretty cool!
5 Rebounds
keyboard shortcuts: L or F like
97 Responses (page 1 of 4)
Nice concept man!
about 6 years ago
I really like this concept @Matt D. Smith I could see this working nicely for desktop as well as tablets / mobile.
about 6 years ago
@Matt D. Smith I've been struggling with the same issue and I really like this solution. The only problem I could see is the font size for the top-aligned label. How legible is it?
about 6 years ago
YES.
about 6 years ago
Nice idea, congratulations!
about 6 years ago
@Regy That's been the biggest issue for me, too. Right now it's at 14pt (retina), which translates to 7pt. Really tiny, but still legible for me. It could potentially use a larger size, but this is kind of the starting point, yah know? I just attached the full size comp so you could check it out.
about 6 years ago
really nice idea Matt! Have you checked this on an actual iPhone? The top text becomes just a wee bit small IMO.
about 6 years ago
@Matt D. Smith Just took a look at the screen on my phone, I think this actually works. Considering its just for reference, it does a pretty good job of staying subtle, yet helpful. The description text is pretty clear on its own too. I know right away what each field implies without needing to look at the label
about 6 years ago
@Matt D. Smith Didn't see your comment above re:font size. Youre right, it is legible, I did have to get close though.
about 6 years ago
@Regy @Adam Yeah, I think that's the trick here - staying subtle and helpful with the field label.
about 6 years ago
really like the transition of placeholder text alias form name to above the user generated text as soon as he starts to type!
about 6 years ago
I love this. Honestly, the interaction wouldn't really have to be limited to mobile or native apps — it would be equally helpful on desktop and the web.
about 6 years ago
@Galen I think it could definitely work for desktop, etc. Might have to think about growing the text field vertically once text is entered to allow for a larger field label.
about 6 years ago
@Matt D. Smith I like this. Approved.
about 6 years ago
@Colin You are a gentleman and a scholar.
about 6 years ago
This is so clean. I love it.
about 6 years ago
Amazing!!
about 6 years ago
very nice!
about 6 years ago
Absolutely awesome! Love it.
about 6 years ago
Very nice... I think that this would be a great addition to any form, and in the case of actually getting it to work on mobile I think it would be overall pretty easy.
about 6 years ago
JESUS CHRIST!
about 6 years ago
I'm diggin it.
about 6 years ago
Nice accessibility bro
about 6 years ago
This is amazing! I'm going to learn from this for sure!
about 6 years ago
Big fan of this concept Matt, great work. I thought it warranted a quick iOS demo and open-sourced my work for those who are interested in contributing/furthering this idea: https://github.com/jverdi/JVFloatLabeledTextField
about 6 years ago