Forum
Select SVG icon as part of template
Hi,
I am working on a site where I need the client to be able to select an SVG icon as part of a template. These are not to uploaded as an asset, but will be pre-created and in a folder, and presented as a select box where the client can pick one. This would then ideally be output as an inline SVG on the page. The template would look something like this:
<perch:content id="heading" type="text" label="Heading" required="true" />
<perch:content id="icon" type="select" label="Feature Icon"
options="Heart,Star,Person ..." />
<perch:content id="body" type="textarea" label="Feauture Information" markdown="true" editor="markitup" />
I am not really sure where to start with this one, if anyone has any pointers for this workflow that would be great.
Mike
Something like this (this is me using Icomoon's system)…
That's perfect thanks Jay