---
title: automatic
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/textinputbordershape/automatic
---

# automatic

A shape that defers to the system to determine an appropriate shape for the given context and platform.

## Declaration

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

## See Also

### Getting border shape options

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