Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. RPFloatingPlaceholders

RPFloatingPlaceholders

MITObjective-C

UITextField and UITextView subclasses with placeholders that transform into floating labels when text is entered.

Visit WebsiteGitHubGitHub
1.1k stars120 forks0 contributors

What is RPFloatingPlaceholders?

RPFloatingPlaceholders is an iOS library that provides custom UITextField and UITextView subclasses implementing the floating label design pattern. It transforms static placeholder text into animated floating labels when users input text, improving form usability and reducing input errors in mobile interfaces.

Target Audience

iOS developers building apps with forms or text input fields who want to implement the floating label UI pattern for better user experience and visual clarity.

Value Proposition

Developers choose RPFloatingPlaceholders for its straightforward, reusable implementation of floating labels with smooth animations, proven reliability in large-scale apps like Booking.com, and compatibility with various iOS versions and layout systems.

Overview

UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text.

Use Cases

Best For

  • Implementing floating label text fields in iOS apps
  • Enhancing form usability with animated placeholders
  • Adding modern UI patterns to legacy iOS applications
  • Building consistent input fields across iOS 6+ devices
  • Improving user experience in booking or form-heavy mobile apps
  • Creating reusable text input components with custom animations

Not Ideal For

  • New iOS projects requiring active maintenance and updates
  • Teams adopting SwiftUI who need native floating label components
  • Apps needing advanced accessibility features or dark mode support
  • Developers seeking a library with a large, active community for support

Pros & Cons

Pros

Smooth Animation Options

Supports both upward and downward animation styles for floating labels, providing visual polish that enhances user experience, as demonstrated in the README's GIF examples.

Broad iOS Compatibility

Works with iOS 6+ and supports both ARC and manual memory management, making it suitable for legacy apps or projects with varied deployment targets.

Layout System Flexibility

Compatible with Autolayout or traditional springs and struts, allowing seamless integration into different app architectures without layout conflicts.

Proven at Scale

Used in high-traffic apps like Booking.com, serving millions of users, which indicates reliability and performance in real-world, large-scale applications.

Cons

Deprecated and Unmaintained

The README explicitly states it's deprecated and recommends JVFloatLabeledTextField, meaning no bug fixes, security updates, or compatibility improvements for newer iOS versions.

Limited Modern Integration

Lacks support for SwiftUI, Combine, or other contemporary iOS frameworks, forcing developers to use compatibility layers or stick with UIKit-based projects.

Minimal Customization Features

Focuses solely on floating label animations without built-in options for advanced styling, validation, or accessibility enhancements, requiring extra development effort.

Frequently Asked Questions

Quick Stats

Stars1,114
Forks120
Contributors0
Open Issues0
Last commit6 years ago
CreatedSince 2013

Tags

#mobile-ui#ios#uitextfield#animation#objective-c#floating-labels#ui-components#form-input#uikit#uitextview

Built With

U
UIKit
O
Objective-C
i
iOS SDK

Links & Resources

Website

Included in

iOS51.7k
Auto-fetched 6 hours ago

Related Projects

JVFloatLabeledTextFieldJVFloatLabeledTextField

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

Stars7,147
Forks719
Last commit3 years ago
TextFieldEffectsTextFieldEffects

Custom UITextFields effects inspired by Codrops, built using Swift

Stars6,011
Forks591
Last commit2 years ago
SkyFloatingLabelTextFieldSkyFloatingLabelTextField

A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift.

Stars4,127
Forks540
Last commit1 year ago
PYSearchPYSearch

🔍 An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad) .

Stars3,778
Forks735
Last commit5 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub