---
title: indicator
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibutton/configuration-swift.struct/indicator-swift.property
---

# indicator

The style of the indicator that appears on the button.

## Declaration

```swift
var indicator: UIButton.Configuration.Indicator { get set }
```

## Discussion

Discussion Use this property to control the style of the indicator that appears on the trailing edge of the button. For example, the following code disables the indicator by setting this style to UIButton.Configuration.Indicator.none. var config = UIButton.Configuration.filled() config.indicator = .none

## See Also

### Configuring the indicator

- [UIButton.Configuration.Indicator](uikit/uibutton/configuration-swift.struct/indicator-swift.enum.md)
- [indicatorColorTransformer](uikit/uibutton/configuration-swift.struct/indicatorcolortransformer.md)
