---
title: "help(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/help(_:)-9lm7l"
---

# help(_:)

Adds help text to a view using a text view that you provide.

## Declaration

```swift
nonisolated func help(_ text: Text) -> some View

```

## Parameters

- `text`: The doc://com.apple.SwiftUI/documentation/SwiftUI/Text view to use as help.

## Discussion

Discussion Adding help to a view configures the view’s accessibility hint and its help tag (also called a tooltip) in macOS or visionOS. For more information on using help tags, see Offering help in the Human Interface Guidelines. Slider("Opacity", value: $selectedShape.opacity)     .help(Text("Adjust the opacity of the selected \(selectedShape.name)"))
