---
title: componentIcon
framework: Core Services
role: symbol
role_heading: Instance Property
platforms: [Mac Catalyst 17.0+, macOS 10.0+]
path: coreservices/componentresource/1516543-componenticon
---

# componentIcon

A resource specification structure that specifies the resource type and ID for the icon for a component. Component icons are stored as 32-by-32 bit maps. Typically, the icon is stored in a resource of type 'ICON'. Note that this icon is not used by the Finder you supply an icon only so that other components or applications can display your component’s icon in a dialog box if needed.

## Declaration

```occ
ResourceSpec componentIcon;
```
