<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`getIcon`](getIcon)
## getIcon() function
Create an SVG from an iconId. Returns null if no icon associated with the iconId.
**Signature:**
```typescript
export function getIcon(iconId: string): SVGSVGElement | null;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>iconId</code> | <code>string</code> | the icon ID |
**Returns:**
`SVGSVGElement`` | null`