> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Method GetPlugInIconImageSourceOrDefaultAsync

Namespace: [Phoenix.ComponentBuilderAPI.Extensions](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentBuilderAPI.Extensions)\
Assembly: Phoenix.ComponentBuilderAPI.dll

## GetPlugInIconImageSourceOrDefaultAsync(IPlugInInstance)

Get the plug-in icon, if possible, or a default if the plug-in does not specify an icon.
This maintains the original size of the icon image.

```csharp theme={null}
public static Task<ImageSource> GetPlugInIconImageSourceOrDefaultAsync(this IPlugInInstance plugin)

```

### Parameters

`plugin` IPlugInInstance

The plug-in instance on which to operate.

### Returns

[Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1)\<[ImageSource](https://learn.microsoft.com/dotnet/api/system.windows.media.imagesource)>

An ImageSource suitable for display to the user.
