# icon

> Specifies the path to an Editor window's default icon.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public string icon { get; set; }
```

### Remarks

The path must be in the Project, and must include the default icon's name and file extension. For example: `Assets/Editor/MyIcons/MyWindowIcon.png` Any icon variants must be in the same folder as the default icon.
