FloatingLabelTextField

1.0.2

Swift package to add floating placeholder to TextField and SecureField in SwiftUI
maxakash/FloatingLabelTextField

What's New

2020-03-22T14:09:25Z

FloatingLabelTextField

This Swift Package supports floating label for Text Field and Secure Field in SwiftUI

Screenshot

Installation

Install through Swift Package Manager.

Usage

import FloatingLabelTextField


@State var username = ""
@State var password = ""
var body: some View {
  VStack {
    FloatingLabelTextField(placeHolder: "Username", text: $username)
    FloatingLabelSecureField(placeHolder: "Password", text: $password)
  }
}

Description

  • Swift Tools 5.1.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 06:29:53 GMT-0900 (Hawaii-Aleutian Daylight Time)