---
title: highlighted
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibarbuttonitemappearance/highlighted
---

# highlighted

The appearance data to apply to the button when it’s in the highlighted state.

## Declaration

```swift
var highlighted: UIBarButtonItemStateAppearance { get }
```

## Discussion

Discussion To set the attributes for this state, get the object in this property and modify it.

## See Also

### Configuring attributes for different button states

- [normal](uikit/uibarbuttonitemappearance/normal.md)
- [disabled](uikit/uibarbuttonitemappearance/disabled.md)
- [focused](uikit/uibarbuttonitemappearance/focused.md)
