Skip to content

1.0.0

Choose a tag to compare

@huyparody huyparody released this 12 Jun 07:33
· 11 commits to main since this release

[1.0.0] - 2025-06-12

Added

  • OTPTextField component for customizable OTP input UI.
  • Support for two styles:
    • .underlined
    • .roundedBorder
  • OTPTextFieldOptions to allow customization (colors, spacing, font, etc.).
  • Binding to @State var text: String and @State var typingState: TypingState to control and observe input.
  • Invalid input animation trigger via external .invalid state.
  • Callback onComplete when full OTP is entered.
  • Hidden internal TextField for native iOS OTP auto-fill support.
  • Support for SwiftUI @FocusState to manage focus state cleanly.