# toolbar.actions.icon

Part of [Toolbar](https://kernstra.com/docs/web-sdk/config/toolbar) in the Kernstra Web SDK 1.0.0 configuration reference.

- Type: `string`
- Page: https://kernstra.com/docs/web-sdk/config/toolbar/actions-icon

An `IconName`, or raw SVG markup starting with `<svg`. An action icon that is neither a name nor markup starting with `<svg` draws nothing.

```ts
// Custom SVG icon for an action button
toolbar: {
  actions: [{
    id: 'share',
    label: 'Share',
    icon: '<svg viewBox="0 0 20 20">...</svg>',
    onClick: () => { /* share logic */ }
  }]
}
```

Web page: https://kernstra.com/docs/web-sdk/config/toolbar/actions-icon
