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 Name
Description
SurveyContainer
Interacts with the Apex class and shows the survey contents.
SurveyQuestion
Invokes the question-specific component.
surveyBooleanQuestion
Shows the boolean type of questions
surveyShortTextQuestion
Shows the short text type of questions.
surveySingleSelectQuestion
Shows the single selection type of questions.
surveyMultiSelectQuestion, surveyNpsQuestion, surveyRatingQuestion, and surveyFreeTextQuestion
Shows other supported question types, such as multi-select type of questions, Net Promoter Score (NPS) questions, rating questions, or free-text questions.