https://github.com/kiarashvosough1999/floatingtextfield
https://github.com/kiarashvosough1999/floatingtextfield
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiarashvosough1999/floatingtextfield
- Owner: kiarashvosough1999
- License: mit
- Created: 2022-03-18T05:50:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-18T21:26:38.000Z (over 3 years ago)
- Last Synced: 2023-03-06T08:27:46.169Z (over 2 years ago)
- Language: Swift
- Size: 2.29 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FloatingTextField
![]()
[](https://img.shields.io/badge/Swift-5.1_5.2_5.3_5.4-Orange?style=flat-square)
[](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS_watchOS_Linux_Windows-Green?style=flat-square)Attractive FloatingTextField Using SwiftUI
- [Requirements](#requirements)
- [Usage](#usage)
- [Sample](#sample)
- [Contributors](#contributors)
- [License](#license)## Requirements
| Platform | Minimum Swift Version | Status |
| --- | --- | --- |
| iOS 13.0+ | 5.0 | Tested |## Usage
``` swift
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](https://github.com/kiarashvosough1999/FloatingTextField/blob/master/LICENSE) for more information.