Skip to content

resolveHeroIcon

resolveHeroIcon(iconName, variant?): string

Defined in: src/render/heroicons.ts:58

Reads the raw SVG string for a heroicon by name + variant. Throws if heroicons is not installed or the icon doesn’t exist.

string

HeroIconVariant = "solid"

string