<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextField/BezelStyle-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextFieldBezelStyle"
  },
  "title" : "NSTextField.BezelStyle"
}
-->

# NSTextField.BezelStyle

The style of bezel the text field displays.

```
enum BezelStyle
```

## Overview

Use [`bezelStyle`](/documentation/AppKit/NSTextFieldCell/bezelStyle) to set a text field’s bezel style.

## Topics

### Constants

[`NSTextField.BezelStyle.squareBezel`](/documentation/AppKit/NSTextField/BezelStyle-swift.enum/squareBezel)

A style that draws a bezel with square corners around a text field.

[`NSTextField.BezelStyle.roundedBezel`](/documentation/AppKit/NSTextField/BezelStyle-swift.enum/roundedBezel)

A style that draws a bezel with rounded corners around a single-line text field.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)