---
title: Configurations
framework: uikit
role: collectionGroup
role_heading: API Collection
path: uikit/configurations
---

# Configurations

Specify the appearance and content of your views and cells using configurations.

## Overview

Overview Configurations provide a lightweight way to apply content and styling to views without having to manage the rendering of the appearance yourself. Using a configuration, you can obtain system default styling for a variety of different view states and customize that styling as needed. Then, you assign that configuration to a view that supports configurations, like UICollectionViewCell, or use it to create a custom content view, like UIListContentView. The configuration updates itself when the view’s configuration state changes, causing the view to reflect the new styling for that state. There are two types of configurations: Background configurations, which let you specify the background appearance for a view. For more information, see UIBackgroundConfiguration. Content configurations, which let you specify content (like image and text) and styling for that content (like tint color and padding). For list-based content, UIListContentConfiguration defines many customization options.

## Topics

### Configuration states

- [UIViewConfigurationState](uikit/uiviewconfigurationstate-swift.struct.md)
- [UICellConfigurationState](uikit/uicellconfigurationstate-swift.struct.md)
- [UIConfigurationState](uikit/uiconfigurationstate-8d7pd.md)
- [UIConfigurationStateCustomKey](uikit/uiconfigurationstatecustomkey.md)

### Content configurations

- [UIListContentConfiguration](uikit/uilistcontentconfiguration-swift.struct.md)
- [UIListContentView](uikit/uilistcontentview.md)
- [UIContentConfiguration](uikit/uicontentconfiguration-9eib5.md)
- [UIContentView](uikit/uicontentview-5fh3z.md)

### Unavailable content configurations

- [UIContentUnavailableConfiguration](uikit/uicontentunavailableconfiguration-swift.struct.md)
- [UIContentUnavailableConfigurationState](uikit/uicontentunavailableconfigurationstate-swift.struct.md)

### Background configurations

- [UIBackgroundConfiguration](uikit/uibackgroundconfiguration-swift.struct.md)

### Color transformers

- [UIConfigurationColorTransformer](uikit/uiconfigurationcolortransformer-swift.struct.md)
