SVG icons with custom elements:
- Create your icons. Boxy SVG is perfect for this. Note that this assumes a viewBox of 0,0,128,128.
- Save this file, say in
- Include the b-icon.js somewhere.
- You can then use
<b-icon name="hamburger" color="#fff" size="64px"></b-icon>in your HTML
- You can easily extend this as necessary.