<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SensoryFeedback",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15SensoryFeedbackV"
  },
  "title" : "SensoryFeedback"
}
-->

# SensoryFeedback

Represents a type of haptic and/or audio feedback that can be played.

```
struct SensoryFeedback
```

## Overview

This feedback can be passed to `View.sensoryFeedback` to play it.

## Topics

### Indicating start and stop

[`start`](/documentation/SwiftUI/SensoryFeedback/start)

Indicates that an activity started.

[`stop`](/documentation/SwiftUI/SensoryFeedback/stop)

Indicates that an activity stopped.

### Indicating changes and selections

[`alignment`](/documentation/SwiftUI/SensoryFeedback/alignment)

Indicates the alignment of a dragged item.

[`decrease`](/documentation/SwiftUI/SensoryFeedback/decrease)

Indicates that an important value decreased below a significant
threshold.

[`increase`](/documentation/SwiftUI/SensoryFeedback/increase)

Indicates that an important value increased above a significant
threshold.

[`levelChange`](/documentation/SwiftUI/SensoryFeedback/levelChange)

Indicates movement between discrete levels of pressure.

[`selection`](/documentation/SwiftUI/SensoryFeedback/selection)

Indicates that a UI element’s values are changing.

[`pathComplete`](/documentation/SwiftUI/SensoryFeedback/pathComplete)

Indicates a drawn path has completed and/or recognized.

### Indicating the outcome of an operation

[`success`](/documentation/SwiftUI/SensoryFeedback/success)

Indicates that a task or action has completed.

[`warning`](/documentation/SwiftUI/SensoryFeedback/warning)

Indicates that a task or action has produced a warning of some kind.

[`error`](/documentation/SwiftUI/SensoryFeedback/error)

Indicates that an error has occurred.

### Producing a physical impact

[`impact`](/documentation/SwiftUI/SensoryFeedback/impact)

Provides a physical metaphor you can use to complement a visual
experience.

[`impact(weight:intensity:)`](/documentation/SwiftUI/SensoryFeedback/impact(weight:intensity:))

Provides a physical metaphor you can use to complement a visual
experience.

[`impact(flexibility:intensity:)`](/documentation/SwiftUI/SensoryFeedback/impact(flexibility:intensity:))

Provides a physical metaphor you can use to complement a visual
experience.

[`Flexibility`](/documentation/SwiftUI/SensoryFeedback/Flexibility)

The flexibility to be represented by a type of feedback.

[`Weight`](/documentation/SwiftUI/SensoryFeedback/Weight)

The weight to be represented by a type of feedback.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)