Skip to main content
For development, import Suggestion from @servicetitan/anvil2-rn. For design, find it in the Mobile Agentic Component Library file.

Common Examples

To use a single Suggestion, pass a required label and handle selection with onPress. Supply the label already localized; the component renders it verbatim.

Suggestion list

Use SuggestionList for a wrapping group of chips. Each string in suggestions becomes a Suggestion. onSelect receives the selected string and index. The list does not enforce content limits. Keep the set to three suggestions of about 40 characters each.

Accessibility

  • A Suggestion is a button named by label.
  • SuggestionList exposes the chips as one labelled group. Override accessibilityLabel (default "Suggested replies") for localized copy.
Last modified on October 27, 2026