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

# compactAppearance

The appearance settings to use for a compact-height toolbar.

## Declaration

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

## Discussion

Discussion If the value of this property is nil, UIKit uses the same settings found in the standardAppearance property.

## See Also

### Customizing appearance

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