Reuse of HTML in multiple tabs

Hi everyone.

Found Plotly/Dash a few weeks ago and really love it.

I’m building a dashboard and I would like to plot N variables, one per tab, always using the same HTML layout.
Is there a way to do it (object oriented??) instead of just copy-pasting the same html.layout (and change var name) over and over?

Thanks in advance!