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

# NSBorderType

These constants specify the type of a view’s border.

```
enum NSBorderType
```

## Topics

### Constants

[`NSBorderType.bezelBorder`](/documentation/AppKit/NSBorderType/bezelBorder)

A concave border that makes the view look sunken.

[`NSBorderType.grooveBorder`](/documentation/AppKit/NSBorderType/grooveBorder)

A thin border that looks etched around the image.

[`NSBorderType.lineBorder`](/documentation/AppKit/NSBorderType/lineBorder)

A black line border around the view.

[`NSBorderType.noBorder`](/documentation/AppKit/NSBorderType/noBorder)

No border.



---

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)