---
title: displayActionLabel
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/displayactionlabel
---

# displayActionLabel

The default localized extension action label.

## Declaration

```swift
var displayActionLabel: String? { get }
```

## Discussion

Discussion Returns nil if there was no default action label specified. This label serves as a default and should be used to represent the extension in contexts like action sheets or toolbars prior to the extension being loaded into an extension context. Once the extension is loaded, use the action(for:) API to get the tab-specific label.
