---
title: "init(style:)"
framework: appintents
role: symbol
role_heading: Initializer
path: "appintents/shortcutsuibutton/init(style:)"
---

# init(style:)

Creates a button with the specified style.

## Declaration

```swift
@MainActor @preconcurrency init(style: ShortcutsLinkStyle = .automatic)
```

## Parameters

- `style`: The style to use, defaults to doc://com.apple.AppIntents/documentation/AppIntents/ShortcutsLinkStyle/automatic.
