\u003C/svg>',\n width: 22,\n height: 22,\n viewBox: '0 0 22 22',\n },\n {\n name: 'file2',\n src: '\u003Csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 8 16\">\u003Cpath fill=\"currentColor\" d=\"...\"/>\u003C/svg>',\n width: 8,\n height: 16,\n viewBox: '0 0 8 16',\n },\n]","Example of the icons the in the nuxt appConfig",{"properties":55,"template":37},{"code":56,"description":57},"$file1: 'data:image/svg+xml;base64,HN2ZyB4...';\n$file2: 'data:image/svg+xml;base64,PHN2ZyB4b...';","Example of the _icons.scss output file",{"properties":59,"template":28},{"body":60,"title":61,"buttons":62},"\u003Cp>In scss the svg elements can be implemented by using @use in scss to load the file. Within this icons namespace the developer can that implement the required svg element. By styling it with background-color and mask-image, the icons can be used in various colors with smooth transitions.\u003C/p>","Usage: Scss",[],{"properties":64,"template":37},{"code":65},"@use '@icons';\n\n.some-element {\n background-color: red;\n mask-image: url(icons.$chevron);\n }\n",{"properties":67,"template":28},{"body":68,"title":69,"buttons":70},"\u003Cp>Developers can use a composable to get the svg form the nuxt appConfig. There is also a component that implements this composable to make it even more easy to use.\u003C/p>","Usage: Vue component",[],{"properties":72,"template":37},{"code":73,"description":74},"export default function useIcon(name: string) {\n const { icons } = useAppConfig();\n return icons?.find((icon) => icon && icon.name === name);\n}\n\nconst icon = useIcon('nameOfIcon');\n\u003CNuxtIcon icon=\"nameOfIcon\" />","Example of composable and component",["Reactive",76],{"$ssupabase_session":5,"$ssupabase_user":5},["Set"],["ShallowReactive",79],{"Ta0dWpu-rYcFGFqfT5jFH7pGQSrhYT05lj6QjguZTz8":-1,"route":-1},true,"/nuxt-module-svg",{}]