API Reference > ui-abstract > Utilities > IconSpecUtilities IconSpecUtilities Class Beta Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec. Methods Name Description constructor(): IconSpecUtilities createSvgIconSpec(svgSrc: string): string Static Create an IconSpec for an SVG getSvgSource(iconSpec: string): undefined | string Static Get the SVG Source from an IconSpec Properties Name Type Description SVG_PREFIX StaticReadonly "svg:" Prefix for an SVG IconSpec Defined in ui/abstract/src/ui-abstract/utils/IconSpecUtilities.ts Line 12 Last Updated: 11 June, 2024