Dynamically add multiple files in panel

I’m currently using the structure field for multiple galleries in one page. Is there a more elegant way of doing this? It doesn’t really look pleasing. Can I make it so that the structure preview in the panel shows all images as cards?

I’d use a blocks field with a single block type gallery. Or create a custom gallery block type with modified Panel preview and frontend snippet.