Skip to main content
Version: 6.2

Custom Icon Requirements

Icons in SVG and PNG formats are supported. To display correctly, an icon must meet the requirements below. If a file does not meet these requirements or an error occurs while reading it, the custom icon is replaced with the alert icon (an exclamation mark inside a triangle).


SVG Icon Requirements​

The SVG file and the icon it contains must meet the following requirements:

  • the file contains a valid SVG string
  • the file size does not exceed 512 KB
  • the icon's aspect ratio (height to width) is between 1/3 and 3/1
Please note

Potentially unwanted code is removed from the icon. For example, <script>...</script> blocks are removed.


PNG Icon Requirements​

The PNG file and the icon it contains must meet the following requirements:

  • the file is a valid PNG image that conforms to the PNG specification
  • the file size does not exceed 512 KB
  • the maximum image compression level is 50
  • the icon width and height are between 1 and 512 pixels
  • the icon's aspect ratio (height to width) is between 1/3 and 3/1