---
title: TextInputBorderShape
framework: swiftui
role: symbol
role_heading: Structure
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/textinputbordershape
---

# TextInputBorderShape

A shape used to draw the border of a text input control.

## Declaration

```swift
struct TextInputBorderShape
```

## Topics

### Getting border shape options

- [automatic](swiftui/textinputbordershape/automatic.md)
- [capsule](swiftui/textinputbordershape/capsule.md)
- [roundedRectangle](swiftui/textinputbordershape/roundedrectangle.md)

## Relationships

### Conforms To

- [Animatable](swiftui/animatable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [InsettableShape](swiftui/insettableshape.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Shape](swiftui/shape.md)
- [View](swiftui/view.md)

## See Also

### Managing text entry

- [autocorrectionDisabled(_:)](swiftui/view/autocorrectiondisabled(_:).md)
- [autocorrectionDisabled](swiftui/environmentvalues/autocorrectiondisabled.md)
- [keyboardType(_:)](swiftui/view/keyboardtype(_:).md)
- [scrollDismissesKeyboard(_:)](swiftui/view/scrolldismisseskeyboard(_:).md)
- [textContentType(_:)](swiftui/view/textcontenttype(_:).md)
- [textInputAutocapitalization(_:)](swiftui/view/textinputautocapitalization(_:).md)
- [TextInputAutocapitalization](swiftui/textinputautocapitalization.md)
- [textInputBorderShape(_:)](swiftui/view/textinputbordershape(_:).md)
- [textInputCompletion(_:)](swiftui/view/textinputcompletion(_:).md)
- [textInputSuggestions(_:)](swiftui/view/textinputsuggestions(_:).md)
- [textInputSuggestions(_:content:)](swiftui/view/textinputsuggestions(_:content:).md)
- [textInputSuggestions(_:id:content:)](swiftui/view/textinputsuggestions(_:id:content:).md)
- [textContentType(_:)](swiftui/view/textcontenttype(_:)-4dqqb.md)
- [textContentType(_:)](swiftui/view/textcontenttype(_:)-6fic1.md)
- [textContentType(_:)](swiftui/view/textcontenttype(_:)-ufdv.md)
