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

# NSParagraphStyle.TextTabType

Constants that specify the type of tab stop.

```
enum TextTabType
```

## Overview

The following mappings define the conversions between text alignment in [`NSTextTab`](/documentation/AppKit/NSTextTab) and tab stop types that [`NSTextTab`](/documentation/AppKit/NSTextTab) defines:

|Alignment                                                                              |Tab stop type                                                                                                                                                                                                                 |
|---------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/left``                   |``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/leftTabStopType``                                                                                                                                  |
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/right``                  |``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/rightTabStopType``                                                                                                                                 |
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/center``                 |``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/centerTabStopType``                                                                                                                                |
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/justified``              |``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/leftTabStopType``                                                                                                                                  |
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/natural``                |``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/leftTabStopType``, or ``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/rightTabStopType``, depending on the user setting.|
|``doc://com.apple.appkit/documentation/AppKit/NSTextAlignment/right`` with a terminator|``doc://com.apple.appkit/documentation/AppKit/NSParagraphStyle/TextTabType/decimalTabStopType``                                                                                                                               |

## Topics

### Constants

[`NSLeftTabStopType`](/documentation/AppKit/NSParagraphStyle/TextTabType/leftTabStopType)

A left-aligned tab stop.

[`NSRightTabStopType`](/documentation/AppKit/NSParagraphStyle/TextTabType/rightTabStopType)

A right-aligned tab stop.

[`NSCenterTabStopType`](/documentation/AppKit/NSParagraphStyle/TextTabType/centerTabStopType)

A center-aligned tab stop.

[`NSDecimalTabStopType`](/documentation/AppKit/NSParagraphStyle/TextTabType/decimalTabStopType)

A tab stop that aligns columns of numbers to each number’s decimal point.

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)