Component with different number of buttons

I want 2 instances of a parent component that has 3 “buttons” in one instance and another instance that has that has 5 “buttons ”.

How do I set that up?

Do I have to make a visibility option for the buttons to add or remove? something like that?