FocusState | Apple Developer Documentation

A property wrapper type that can read and write a value that SwiftUI updates as the placement of focus within the scene changes.