Icon Paragraph
Icon paragraph can be stand-alone content and nested within other paragraphs that requires icons such as Button, Text Link, Action Blocks, etc.
Custom icon workflow
Output markup
Dev Notes
- Clicking "Select icon" will bring up the icon library for user to select a specific icon.
- Clicking "Use custom icon" will bring up an extra textarea input for raw SVG code. Appropriate icon and shape classes will be added to this custom code in the back-end.
- Overrides maps up to utility classes, these classes will either go on the svg element or the span element with the shape classes (if a shape is chosen).
- In the Custom Icon Workflow, clicking "remove custom icon" will bring back the view with 2 buttons ("select icon" and "use custom icon").