FloatingTextField

Swift Platforms

Attractive FloatingTextField Using SwiftUI

Requirements

Platform Minimum Swift Version Status
iOS 15.0+ 5.0 Tested

Usage

import SwiftUI

@main
struct FloatingTextFieldApp: App {
    
    @State var text: String = ""
    
    var body: some Scene {
        WindowGroup {
            FloatingTextField(title: "Your Email Address", text: $text)
                .frame(width: 350, height: 60, alignment: .center)
        }
    }
}

Sample

Contributors

Feel free to share your ideas or any other problems. Pull requests are welcomed.

License

ViewMaker is released under an MIT license. See LICENSE for more information.

GitHub

View Github