SAPUI5 provides a variety of icons that you can use to enhance the user interface of your web applications. Icons can be used in buttons, menus, lists, and other UI elements to provide visual cues and improve the overall user experience. SAPUI5 includes a set of predefined icons that you can use, and you can also use custom icons or icons from popular icon libraries like SAP's own "SAP-icons" or "Font Awesome."
Go to SAP Icon Explorer > SAP Icons or Directly go to SAP Icons
Refer to /webapp/view/App.view.xml
We add an icon to the button that opens the dialog. The sap-icon:// protocol is indicating that an icon from the icon font should be loaded. The identifier world is the readable name of the icon in the icon font.
Refer to /webapp/view/IconDialog.fragment.xml
In the dialog fragment, we add an icon control to the content aggregation of the dialog.