A lightweight SwiftUI framework for creating customizable floating label text fields with validation and RTL support.
FloatingLabelTextFieldSwiftUI is a SwiftUI framework for creating animated floating label text fields with extensive customization options. It solves the problem of building modern, accessible form inputs in SwiftUI without relying on UIKit, offering features like validation, secure text entry, and RTL support.
iOS developers building SwiftUI applications who need customizable, production-ready text field components with advanced features like validation and custom styling.
Developers choose this library because it's built entirely in SwiftUI (not using UIViewRepresentable), offers deep customization through styles and properties, includes built-in validation, and supports RTL languages out of the box.
Floating Label TextField for SwiftUI. FloatingLabelTextFieldSwiftUI
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Built entirely in SwiftUI without UIViewRepresentable, ensuring better performance and seamless integration with SwiftUI's declarative architecture, as highlighted in the README's philosophy.
Offers deep styling control through properties or custom styles, allowing adjustments to colors, fonts, spacing, and line heights, as demonstrated in the ThemeTextFieldStyle example.
Includes regex-based validation for patterns like email and password, with easy error message display and validation state tracking, shown in the email and name validation examples.
Provides full right-to-left language compatibility and easy addition of left/right views for icons or buttons, enhancing accessibility and customization, as illustrated in the left-right view GIF.
Requires iOS 13.0 or later, excluding legacy projects or those needing broader platform support without SwiftUI.
Customization involves numerous chained modifiers or a complex style struct, which can be verbose and less intuitive compared to simpler, out-of-the-box solutions.
As a smaller open-source project, it may have fewer community contributions, slower updates, and potential breaking changes compared to more established libraries like SwiftUI-Introspect or larger component sets.