# Skyscanner/SkyFloatingLabelTextField

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

Repository: https://github.com/Skyscanner/SkyFloatingLabelTextField
Canonical: https://ross.abutalabs.com/products/skyfloatinglabeltextfield
Language: Swift
License: Apache-2.0
License Family: permissive
Topics: swift, interface-builder, cocoapods, textfield
Archived: true
Last push: 2025-07-14T20:03:31+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 31, release rhythm 8, longevity 100
- inputs: {"age_days": 3908, "days_push": 415, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4125, forks 540 (observed 2026-08-28T04:08:36.019279+00:00)

## What it is
A Swift UIKit library implementing the 'Float Label Pattern' text field for iOS, with customizable floating titles, icons, RTL support, and error/selected/highlighted states. It can be used from Interface Builder or code and is distributed via CocoaPods and Carthage.

## Use cases
- add floating label text fields to an iOS form
- show inline error states on text inputs in Swift
- build RTL-friendly input fields for Arabic or Hebrew
- create customizable text fields with icons in UIKit
- implement space-saving form inputs in an iOS app

## When to choose
- you are building a UIKit-based iOS app and want polished floating-label inputs
- you need RTL text support and multiple visual states out of the box
- you want a component usable from both Interface Builder and code

## When to avoid
- you are building with SwiftUI and prefer native TextField styling
- you need a cross-platform (Android/web) floating label solution
- you require a component under very active development with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, form-handling
- domain: mobile-development, frontend, web-design
- platform: -
- tags: float-label-pattern, textfield, uikit, interface-builder, cocoapods, swift, ios, mobile

## Member repositories
- Skyscanner/SkyFloatingLabelTextField (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:36.019279+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:04.440660+00:00, confidence not recorded.
  - readme: https://github.com/Skyscanner/SkyFloatingLabelTextField (fetched 2026-08-28T04:08:36.019279+00:00, sha 773279e9d013)
- Data as of 2026-08-30T08:39:29.467469+00:00.
