---
title: badgeText
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebextension/action/badgetext
---

# badgeText

The badge text for the action.

## Declaration

```swift
var badgeText: String { get }
```

## Discussion

Discussion Provides the text that appears on the badge for the action. An empty string signifies that no badge should be shown.
