dashboard/docusaurus/docs/extensions/api/components/node-driver/node-driver-icon.md

13 lines
641 B
Markdown

# Setting the node driver icon
While in the Cluster Provisioning screen in Rancher UI, you've noticed that node drivers have icons for each provider:
![Cluster Provisioning](../../../screenshots/cluster-provisioning.png)
In order to set the icon for your custom node driver in the cluster provisioning screen, you can use the following method:
```
plugin.register('image', 'providers/YOUR_PROVIDER_NAME.svg', require('./PATH_TO_YOUR_ICON/YOUR_ICON_NAME.svg'));
```
> **Note:** This feature should only be compatible with Shell version `2.0.1` (for compatibility with Rancher check our [Shell support matrix](../../../support-matrix.md))