Vizel API / core/src / getVizelIconId
Function: getVizelIconId()
ts
function getVizelIconId(name, customIcons?): string;Defined in: packages/core/src/icons/types.ts:281
Get the Iconify icon ID for a given icon name.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | VizelIconName | The semantic icon name |
customIcons? | Partial<Record<VizelIconName, string>> | Optional custom icon mappings to override defaults |
Returns
string
The Iconify icon ID (e.g., "lucide:heading-1")