---
schema_version: "1"
id: 8b2ea369b50992b33e6ba0f2f00e9a5ee73db492ce4cbe9fa5aff7401520ca55
title: ConnectApi.Icon
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_icon.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_icon.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e9e34447919f9cb9056099816a17ea3d660f86ccd9632a98591479c87e24465c
description: Icon.
---
# ConnectApi.Icon

Icon.

| Property | Type | Description | Available Version |
| --- | --- | --- | --- |
| height | Integer | The height of the icon in pixels. | 28.0 |
| width | Integer | The width of the icon in pixels. | 28.0 |
| url | String | The URL of the icon. This URL is available to unauthenticated users. This URL does not expire. | 28.0 |

#### See Also

- [ConnectApi.CanvasCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_canvas_capability.htm "If a feed element has this capability, it renders a canvas app.")
- [ConnectApi.EnhancedLinkCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_enhanced_link_capability.htm "If a feed element has this capability, it has a link that may contain supplemental information like an icon, a title, and a description.")
- [ConnectApi.SocialPostCapability](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_social_post_capability.htm "If a feed element has this capability, it can interact with a social post on a social network.")