In plain words: Adding icons to input and output fields in LWC gives users clear visual cues about what data a field expects or displays. While standard record forms follow default layouts, custom LWC markup lets you place Salesforce Lightning Design System (SLDS) utility icons directly inside field containers, labels, or alongside read-only output values. Standard Salesforce record page layouts do not always fit bespoke business requirements, such as custom search bars, multi-step wizards, or interactive calculation panels. Building custom form elements in Lightning Web Components (LWC) with integrated icons enhances visual hierarchy, speeds up data entry, and maintains full alignment with the Salesforce Lightning Design System (SLDS).
Topic
LWC
Lightning Web Components