Lightning Web Components for Surveys

Lightning Web Components (LWCs) for Surveys provide a variety of question types that you can use in a survey.

Required Editions
Available in: Developer, Enterprise, and Unlimited Editions

LWCs for Surveys 

Lightning Web Components—a Salesforce recommended framework—enable participants to respond to any type of Feedback Management survey. LWCs can be added to standard or custom lightning pages to show the survey to the participants and to enable the participants to submit their response.

Here’s the list of LWCs from the package that show a specific question type in a survey.

LWC NameDescription
SurveyContainerInteracts with the Apex class and shows the survey contents.
SurveyQuestionInvokes the question-specific component.
surveyBooleanQuestionShows the boolean type of questions
surveyShortTextQuestionShows the short text type of questions.
surveySingleSelectQuestionShows the single selection type of questions.
surveyMultiSelectQuestion, surveyNpsQuestion, surveyRatingQuestion, and surveyFreeTextQuestionShows other supported question types, such as multi-select type of questions, Net Promoter Score (NPS) questions, rating questions, or free-text questions.

See Also