---
title: textInputBorder
framework: swiftui
role: symbol
role_heading: Type Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: swiftui/shape/textinputborder
---

# textInputBorder

A shape that defers to the environment to determine the resolved text input border shape.

## Declaration

```swift
static var textInputBorder: TextInputBorderShape { get }
```

## Discussion

Discussion You can override the resolved shape in a given view hierarchy by using the textInputBorderShape(_:) modifier. If no text input border shape is specified, it is resolved automatically for the given context and platform.

## See Also

### Getting standard shapes

- [buttonBorder](swiftui/shape/buttonborder.md)
- [capsule](swiftui/shape/capsule.md)
- [capsule(style:)](swiftui/shape/capsule(style:).md)
- [circle](swiftui/shape/circle.md)
- [containerRelative](swiftui/shape/containerrelative.md)
- [ellipse](swiftui/shape/ellipse.md)
