<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WidgetKit",
  "identifier" : "/documentation/WidgetKit/WidgetLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WidgetKit"
    ],
    "preciseIdentifier" : "s:9WidgetKit0A8LocationV"
  },
  "title" : "WidgetLocation"
}
-->

# WidgetLocation

Values that indicate different widget locations.

```
struct WidgetLocation
```

## Topics

### Specifying a location style

[`carPlay`](/documentation/WidgetKit/WidgetLocation/carPlay)

The CarPlay location for a widget.

[`iPhoneWidgetsOnMac`](/documentation/WidgetKit/WidgetLocation/iPhoneWidgetsOnMac)

The widget originates from another device and appears on the Mac.

[`homeScreen`](/documentation/WidgetKit/WidgetLocation/homeScreen)

The widget appears on the Home Screen or in Today View.

[`lockScreen`](/documentation/WidgetKit/WidgetLocation/lockScreen)

The widget appears on the Lock Screen.

[`smartStack`](/documentation/WidgetKit/WidgetLocation/smartStack)

[`standBy`](/documentation/WidgetKit/WidgetLocation/standBy)

The widget appears in StandBy.

[`watchFace`](/documentation/WidgetKit/WidgetLocation/watchFace)



---

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)