Use SVG templates instead of hard-coded layout