---
title: "init(style:)"
framework: IntentsUI
role: symbol
role_heading: Initializer
platforms: [iOS 12.0+, iPadOS 12.0+, Mac Catalyst 13.1+, macOS 12.0+, visionOS 1.0+]
path: "intentsui/inuiaddvoiceshortcutbutton/init(style:)"
---

# init(style:)

Creates an Add to Siri button with the specified style.

## Declaration

```swift
init(style: INUIAddVoiceShortcutButtonStyle)
```

## Parameters

- `style`: The style of the button.

## Return Value

Return Value A button initialized with the specified style.

## See Also

### Creating a Shortcut Button

- [INUIAddVoiceShortcutButtonStyle](intentsui/inuiaddvoiceshortcutbuttonstyle.md)
