🎨 BrandUIKit
TextField
import BrandUIKit

TextField

BrandUIKit comes included with a stylized TextField.

.textFieldStyle(CommonTextField())

You can pass disabled: Bool to block the user from editing the text field.

Stylized Textfield

VStack (spacing: 20) {
    TextField("Test TextField", text: .constant("Hello"))
        .textFieldStyle(CommonTextField())
    TextField("Test TextField", text: .constant("Hello"))
        .textFieldStyle(CommonTextField(disabled: true))
}