A set of customizable iOS text fields for one-time passwords, SMS codes, and PIN codes with SMS autofill support.
CHIOTPField is an iOS library that provides customizable text field components for entering one-time passwords, SMS verification codes, and PIN codes. It solves the problem of building secure, user-friendly authentication inputs by offering multiple pre-designed field styles with SMS autofill support.
iOS developers building authentication flows in Swift applications who need ready-to-use OTP input fields with professional styling and SMS code autofill functionality.
Developers choose CHIOTPField because it offers four distinct, visually polished field designs out of the box, supports SMS autofill natively, and provides extensive customization options while being easy to integrate via Storyboards or code.
CHIOTPField is a set of textfields that can be used for One-time passwords, SMS codes, PIN codes, etc. Mady by @ChiliLabs - https://chililabs.io
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers four distinct field designs (OTPFieldOne through Four) with different borders, backgrounds, and animations, as shown in GIF previews, reducing design effort for common authentication screens.
Automatically handles insertion of one-time codes from SMS messages without extra configuration, streamlining user experience in verification flows.
Provides IBDesignable support for visual setup in Interface Builder and programmatic control via properties like numberOfDigits and spacing, catering to diverse development workflows.
Allows detailed styling per field type, including colors, corner radius, shadows, and placeholders, enabling fine-tuned appearance to match app design.
Limited to UIKit and Storyboards, making it incompatible with modern iOS apps built solely on SwiftUI without additional bridging code.
Only four predefined styles are available; developers needing entirely custom layouts must modify source code or seek alternatives.
Version 0.1 indicates early development, which may lead to breaking changes or instability in future updates, as noted in the Podfile.
The README lacks mention of built-in accessibility features, requiring developers to manually add traits or labels for compliance.