Salesforce-Platform-User-Experience-Designer Practice Test
Salesforce Spring 25 Release 207 Questions
A UX Designer is creating an experience to help organize content into collapsible sections.
Which Lightning component should be used?
A. Einstein Next Best Action
B. Lightning Toggle
C. Accordion
D. Highlights Panel
C. Accordion
Explanation:
The Lightning component that should be used to organize content into collapsible sections
is the Accordion component. The Accordion component displays vertically stacked sections
of content that can be expanded and collapsed by clicking on the section headers. Users
can control how much content is visible at once, and don’t need to scroll as much to see
the content of a page. The Accordion component can also be configured to allow multiple
sections to be open at the same time. The Accordion component implements the accordion
blueprint in the Salesforce Lightning Design System (SLDS).
The Lightning Accordion component is designed to help create an organized, collapsible
display of content. It is composed of a header and a body, which can be used to display
different sections of content in an organized way. The body of the Accordion is hidden until
the header is clicked, allowing the user to quickly and easily access the content they need.
Salesforce provides a detailed guide to using the Accordion component, including
examples and code snippets, which can be found here: https://developer.salesforce.com/docs/componentlibrary/
documentation/lwc/lwc.use_accordion.