<!--
{
  "availability" : [
    "iOS: 16.1.0 -",
    "iPadOS: 16.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/DynamicIsland",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit13DynamicIslandV"
  },
  "title" : "DynamicIsland"
}
-->

# DynamicIsland

The layout and configuration for a Live Activity that appears in the Dynamic Island.

```
struct DynamicIsland
```

## Topics

### Creating the view for the Dynamic Island

[`init(expanded:compactLeading:compactTrailing:minimal:)`](/documentation/WidgetKit/DynamicIsland/init(expanded:compactLeading:compactTrailing:minimal:))

Creates a configuration object with views that appear in the Dynamic Island.

[`DynamicIslandExpandedRegion`](/documentation/WidgetKit/DynamicIslandExpandedRegion)

A structure that defines and positions the content of an expanded Live Activity in the Dynamic Island.

### Deep linking

[`widgetURL(_:)`](/documentation/WidgetKit/DynamicIsland/widgetURL(_:))

Sets the URL that opens the corresponding app of a Live Activity when a user taps on the Live Activity.

### Setting a tint color

[`keylineTint(_:)`](/documentation/WidgetKit/DynamicIsland/keylineTint(_:))

Applies a subtle tint color to the surrounding border of a Live Activity that appears in the Dynamic Island.

### Specifying content margins

[`contentMargins(_:_:for:)`](/documentation/WidgetKit/DynamicIsland/contentMargins(_:_:for:))

Overrides default content margins for the provided content modes in the Dynamic Island.

[`DynamicIslandMode`](/documentation/WidgetKit/DynamicIslandMode)

A structure that offers values that describe the content mode for a Live Activity.



---

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)