Vizel API / core/src / renderVizelIconSvg
Function: renderVizelIconSvg()
ts
function renderVizelIconSvg(name, options?): string;Defined in: packages/core/src/icons/types.ts:385
Render an Iconify icon as an SVG string using Lucide icons. This is the default implementation used by framework packages.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | VizelInternalIconName | The internal icon name |
options? | VizelIconRendererOptions | Optional rendering options (width, height) |
Returns
string
The SVG string, or empty string if icon not found