Skip to main content
Question

Adding components dynamically with a button press

  • August 4, 2025
  • 0 replies
  • 13 views

mccc

I want to be able to add the same component to a parent multiple times by pressing a button. One button press = one component added. Similar to adding rows to a data table with a + button. I would also be able to dynamically delete them with a trash icon. It doesn’t have to be infinite, I’d like to have a preset range of components that can be added to the parent.