欢迎 What's new in Chrome extensions Get help with Chrome extensions API reference Samples
欢迎 What's new in Chrome extensions Get help with Chrome extensions API reference Samples

Manifest - Icons

Published on Updated on

One or more icons that represent the extension or theme. You should always provide a 128x128 icon; it's used during installation and by the Chrome Web Store. Extensions should also provide a 48x48 icon, which is used in the extensions management page (chrome://extensions). You can also specify a 16x16 icon to be used as the favicon for an extension's pages.

Icons should generally be in PNG format, because PNG has the best support for transparency. They can, however, be in any raster format supported by Blink, including BMP, GIF, ICO, and JPEG.

Caution

WebP and SVG files are not supported.

Here's an example of how to declare the icons in the manifest:

 "icons": {
"16": "icon16.png",
"32": "icon32.png",
"48": "icon48.png",
"128": "icon128.png"
},

You may provide icons of any other size you wish, and Chrome will attempt to use the best size where appropriate.

See Extension icons details on Chrome Web Store requirements and best practices.

Updated on Improve article

We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.