<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ProgressViewStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17ProgressViewStyleP"
  },
  "title" : "ProgressViewStyle"
}
-->

# ProgressViewStyle

A type that applies standard interaction behavior to all progress views
within a view hierarchy.

```
@MainActor @preconcurrency protocol ProgressViewStyle
```

## Overview

To configure the current progress view style for a view hierarchy, use the
[`progressViewStyle(_:)`](/documentation/SwiftUI/View/progressViewStyle(_:)) modifier.

A type conforming to this protocol inherits `@preconcurrency @MainActor`
isolation from the protocol if the conformance is included in the type’s
base declaration:

```
struct MyCustomType: Transition {
    // `@preconcurrency @MainActor` isolation by default
}
```

Isolation to the main actor is the default, but it’s not required. Declare
the conformance in an extension to opt out of main actor isolation:

```
extension MyCustomType: Transition {
    // `nonisolated` by default
}
```

## Topics

### Getting built-in progress view styles

[`automatic`](/documentation/SwiftUI/ProgressViewStyle/automatic)

The default progress view style in the current context of the view being
styled.

[`circular`](/documentation/SwiftUI/ProgressViewStyle/circular)

The style of a progress view that uses a circular gauge to indicate the
partial completion of an activity.

[`linear`](/documentation/SwiftUI/ProgressViewStyle/linear)

A progress view that visually indicates its progress using a horizontal
bar.

### Creating custom progress view styles

[`makeBody(configuration:)`](/documentation/SwiftUI/ProgressViewStyle/makeBody(configuration:))

Creates a view representing the body of a progress view.

[`ProgressViewStyle.Configuration`](/documentation/SwiftUI/ProgressViewStyle/Configuration)

A type alias for the properties of a progress view instance.

[`Body`](/documentation/SwiftUI/ProgressViewStyle/Body)

A view representing the body of a progress view.

### Supporting types

[`DefaultProgressViewStyle`](/documentation/SwiftUI/DefaultProgressViewStyle)

The default progress view style in the current context of the view being
styled.

[`CircularProgressViewStyle`](/documentation/SwiftUI/CircularProgressViewStyle)

A progress view that uses a circular gauge to indicate the partial
completion of an activity.

[`LinearProgressViewStyle`](/documentation/SwiftUI/LinearProgressViewStyle)

A progress view that visually indicates its progress using a horizontal bar.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)