convenient API for generating SVG components