Reputation: 561
I need to do textfield design like this. I tried many way but not found any solutions for it. And in Google Material not yet for SwiftUI.
Upvotes: 0
Views: 1680
Reputation: 21
You may use it with .overlay and .storke:
TextField("Enter your email", text: $text)
.overlay(
RoundedRectangle(cornerRadius: 30)
.stroke(Color(.blue, lineWidth: 2))
Upvotes: 2