Why Bricks Builder Should Switch from Font Icons (<i>
) to SVG Icons
Bricks Builder is designed for performance and flexibility, yet using inline <i>
font icons creates unnecessary overhead. Switching to native SVG icons would provide significant performance improvements and a better user experience. Here’s why:
1. Font Icons Load an Entire Icon Set (Unnecessary Overhead)
- Using
<i>
tags with FontAwesome or any font-based icons requires loading a full font file (often 100KB+), even if you use just a few icons. - SVG icons are lightweight and load only what’s needed, reducing overall page weight.
2. Web Fonts Are Render-Blocking
- Icon fonts require an extra HTTP request, delaying the First Contentful Paint (FCP).
- If the font file loads slowly or fails, users see missing icons (Tofu box issue ☐).
- SVGs eliminate this problem by being inline and instantly visible.
3. Improves Google Core Web Vitals & Lighthouse Scores
- Render-blocking fonts negatively impact performance metrics like FCP and LCP.
- Google Lighthouse penalizes pages that rely on external font files for icons.
- SVGs appear immediately, improving page load speed and SEO rankings.
4. Fully Scalable & Customizable Without Extra CSS
<i>
font icons require extra CSS to change colors, sizes, or add effects.- SVGs allow direct customization (fill, stroke, animation) without relying on external styles.
5. No More Manual SVG Uploads – Native SVG Support Would Be a Game-Changer
Currently, users must:
- Manually download SVG icons
- Upload them one by one
- Insert them manually
If Bricks natively supports SVG icons, users could:
Select icons directly from the UI (without manual uploads)
Save time by skipping extra steps
Improve workflow, making Bricks even more efficient and user-friendly
Conclusion: Bricks Should Go Fully SVG for Better Speed & Usability
By replacing <i>
font icons with native SVG support, Bricks Builder would:
Reduce HTTP requests & improve page load times
Eliminate render-blocking font issues
Enhance accessibility & SEO
Provide a seamless icon experience without manual uploads
I noticed some builders already offer SVG-based icons as their icon library.
Bricks is all about performance. Moving to a fully SVG-based icon system would be a huge step forward.
Regards,
Jornes