<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MatchedTransitionSourceConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI36MatchedTransitionSourceConfigurationP"
  },
  "title" : "MatchedTransitionSourceConfiguration"
}
-->

# MatchedTransitionSourceConfiguration

A configuration that defines the appearance of a matched transition
source.

```
protocol MatchedTransitionSourceConfiguration : Sendable
```

## Topics

### Instance Methods

[`func background(Color) -> some MatchedTransitionSourceConfiguration`](/documentation/SwiftUI/MatchedTransitionSourceConfiguration/background(_:))

Specifies a color that will be drawn behind the content within the
matched transition source.

[`func clipShape(RoundedRectangle) -> some MatchedTransitionSourceConfiguration`](/documentation/SwiftUI/MatchedTransitionSourceConfiguration/clipShape(_:))

Applies the specified shape as to the matched transition source,
clipping its content.

[`func shadow(color: Color, radius: CGFloat, x: CGFloat, y: CGFloat) -> some MatchedTransitionSourceConfiguration`](/documentation/SwiftUI/MatchedTransitionSourceConfiguration/shadow(color:radius:x:y:))

Applies the specified shadow effect to the matched transition source.

## Relationships

### Conforming Types

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

### Inherits From

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)