<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/ShortcutsUIButton",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "App Intents",
      "UIKit"
    ],
    "preciseIdentifier" : "c:@M@_AppIntents_UIKit@objc(cs)ShortcutsUIButton"
  },
  "title" : "ShortcutsUIButton"
}
-->

# ShortcutsUIButton

A button that opens the current app’s page in the Shortcuts app.

```
@MainActor @objc @preconcurrency final class ShortcutsUIButton
```

## Overview

You can add additional targets to observe when the button is tapped.

## Topics

### Creating the button

[`init(style:)`](/documentation/AppIntents/ShortcutsUIButton/init(style:))

Creates a button with the specified style.

### Getting the button style

[`style`](/documentation/AppIntents/ShortcutsUIButton/style)

The style to use for the button.

### Configuring additional actions

[`addTarget(_:action:for:)`](/documentation/AppIntents/ShortcutsUIButton/addTarget(_:action:for:))

### Resizing the button

[`sizeThatFits(_:)`](/documentation/AppIntents/ShortcutsUIButton/sizeThatFits(_:))



---

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)