Unfortunately, this is not a good solution for big component libraries or design systems across many products. We’re forced to make anything a component to put it inside the eg. modal.
They also closed the original Slot feature request. I don’t like Figma anymore.
Reopened it here