<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Command`](Command) › [`icon`](Command/icon)
## Command.icon property
Icon ID to be used in the toolbar. See [https://docs.obsidian.md/Plugins/User+interface/Icons](https://docs.obsidian.md/Plugins/User+interface/Icons) for available icons and how to add your own.
**Signature:**
```typescript
icon?: IconName;
```