---
title: compactAppearance
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uinavigationbar/compactappearance
---

# compactAppearance

The appearance settings for a compact-height navigation bar.

## Declaration

```swift
@NSCopying var compactAppearance: UINavigationBarAppearance? { get set }
```

## Discussion

Discussion If the value of this property is nil, UIKit uses the standardAppearance of the item stored in the topItem property. You can customize the compact appearance for specific navigation items with the compactAppearance property of UINavigationItem.

## See Also

### Customizing the bar’s appearance

- [prefersLargeTitles](uikit/uinavigationbar/preferslargetitles.md)
- [standardAppearance](uikit/uinavigationbar/standardappearance.md)
- [scrollEdgeAppearance](uikit/uinavigationbar/scrolledgeappearance.md)
- [compactScrollEdgeAppearance](uikit/uinavigationbar/compactscrolledgeappearance.md)
- [isTranslucent](uikit/uinavigationbar/istranslucent.md)
- [Legacy customizations](uikit/uinavigationbar-legacy-customizations.md)
