In the structure of the project there is a catalog with components, each stores its own SVG code. There is an independent component of the block in which data comes through props . How to dynamically connect the necessary component with an icon (there should be 5 blocks, each has its own SVG (component vue))? I thought about the slots, but you can only transfer content to them or not?
<template lang="pug"> section.feautures .features__row info-block(v-for="i in 4") star-icon(slot="icon", fill="#876543", width="24px", height="24px") </template> 