You can use the disabled(_:) modifier. - https://developer.apple.com/documentation/swiftui/list/disabled(_:)
swift
TextField("Value", text: $text)
.disabled(true)
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: