Use icons to add images to controls. Pega Platform includes a set of icon fonts in the py-icons CSS text file, which is in the UI-Kit ruleset. Many of these fonts are used in the standard user portals and forms.
Icon fonts offer the following advantages over binary image files:
Reduction in file size
Availability of Scalable Vector Graphics (SVG) images
Ability to apply custom colors, sizes, and styles