How to reuse yaml code in frontend configuration?

Have a look at Lovelace: Decluttering Card - Share your Projects! / Dashboards & Frontend - Home Assistant Community