name: List Builder description: A component that allows users to build and manage lists by selecting items from one list and adding them to another. Provides drag-and-drop or click-to-move functionality for managing selections. category: Complex Components slds_classes: root: '' elements: [] modifiers: [] states: [] variants: - name: Base description: Standard list builder interface classes: [] usage_context: Default list builder for managing selections differences: Two-panel interface for moving items between lists lightning_component: name: lightning-dual-listbox url: https://developer.salesforce.com/docs/component-library/bundle/lightning-dual-listbox mapping_notes: lightning-dual-listbox provides similar two-list selection functionality accessibility: keyboard_support: - Tab to navigate between lists and controls - Arrow keys to move through list items - Space to select items - Enter to move selected items - Shift+Arrow for multi-select screen_reader: - List roles announced - Selected item count announced - Move operations confirmed - List labels clearly announced aria_attributes: - role='listbox' on list containers - role='option' on list items - aria-label on lists and buttons - aria-selected on selected items - aria-multiselectable on lists allowing multi-select usage_guidelines: when_to_use: - For managing permissions or access lists - When users need to build custom collections - For configuring visible fields or columns - When ordering and selection are both needed when_not_to_use: - For simple multi-select (use checkbox list) - When items don't need reordering - For very long lists (consider search/filter) - When drag-and-drop isn't appropriate best_practices: - Provide clear labels for both lists - Show count of items in each list - Support both drag-and-drop and button moves - Allow reordering within destination list - Provide search/filter for long lists - Show visual feedback during operations common_mistakes: - Missing keyboard support - Unclear which list is source vs destination - No way to move multiple items at once - Poor performance with many items - Missing reordering capability code_examples: - title: Basic List Builder code: "