If I were looking to do this, I would be considering Slots or Props in Vue. For this particular case, where you don't appear to be worried so much about the visual aspect being affected in the child, I would stick with Props. You can get an example of props
here[
^].