Here’s a ready-to-drop-in SVG sprite that bundles a dozen foundation-level icons you’ll typically need in a SaaS dashboard.
All icons are 24 × 24, stroke-based, and inherit the current color, so they automatically adapt to your theme via CSS.
<!-- SaaS Icon Sprite -->
<!-- License: MIT (paths based on Tabler/Feather icons) -->
<svg xmlns="http://www.w3.org/2000/svg" style="display:none">
<defs>
<!-- Dashboard / Layout -->
<symbol id="icon-dashboard" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 4h6v8H4z"/>
<path d="M14 4h6v4h-6z"/>
<path d="M14 12h6v8h-6z"/>
<path d="M4 16h6v4H4z"/>
</symbol>
<!-- User / Profile -->
<symbol id="icon-user" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="7" r="4"/>
<path d="M5.5 21a7.5 7.5 0 0 1 13 0"/>
</symbol>
<!-- Settings / Cog -->
<symbol id="icon-settings" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="3"/>
<line x1="12" y1="2" x2="12" y2="5"/>
<line x1="12" y1="19" x2="12" y2="22"/>
<line x1="2" y1="12" x2="5" y2="12"/>
<line x1="19" y1="12" x2="22" y2="12"/>
<line x1="4.22" y1="4.22" x2="6.34" y2="6.34"/>
<line x1="17.66" y1="17.66" x2="19.78" y2="19.78"/>
<line x1="4.22" y1="19.78" x2="6.34" y2="17.66"/>
<line x1="17.66" y1="6.34" x2="19.78" y2="4.22"/>
</symbol>
<!-- Notifications / Bell -->
<symbol id="icon-bell" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 16v-5a6 6 0 1 0-12 0v5l-2 2h16z"/>
<path d="M13.73 21a2 2 0 0 1-3.46 0"/>
</symbol>
<!-- Search / Magnifier -->
<symbol id="icon-search" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<circle cx="11" cy="11" r="7"/>
<line x1="18" y1="18" x2="22" y2="22"/>
</symbol>
<!-- Calendar -->
<symbol id="icon-calendar" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<rect x="4" y="5" width="16" height="16" rx="2" ry="2"/>
<line x1="16" y1="3" x2="16" y2="7"/>
<line x1="8" y1="3" x2="8" y2="7"/>
<line x1="4" y1="11" x2="20" y2="11"/>
</symbol>
<!-- Analytics / Bar Chart -->
<symbol id="icon-chart" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<line x1="6" y1="20" x2="6" y2="14"/>
<line x1="12" y1="20" x2="12" y2="10"/>
<line x1="18" y1="20" x2="18" y2="4"/>
</symbol>
<!-- File / Document -->
<symbol id="icon-file" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/>
<polyline points="14 2 14 8 20 8"/>
</symbol>
<!-- Cloud -->
<symbol id="icon-cloud" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="M17.5 19a4.5 4.5 0 0 0 0-9a7 7 0 0 0-13.5 4a4 4 0 0 0 0 8h13.5"/>
</symbol>
<!-- Log-out / Sign-out -->
<symbol id="icon-logout" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path d="M14 8l4 4l-4 4"/>
<path d="M5 12h13"/>
<path d="M5 4v16"/>
</symbol>
<!-- Help / Question -->
<symbol id="icon-help" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="10"/>
<path d="M12 17v.01"/>
<path d="M12 13a3 3 0 1 0-3-3"/>
</symbol>
<!-- Plus / Add -->
<symbol id="icon-plus" viewBox="0 0 24 24" stroke="currentColor"
stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round">
<line x1="12" y1="5" x2="12" y2="19"/>
<line x1="5" y1="12" x2="19" y2="12"/>
</symbol>
</defs>
</svg>
How to use
<!-- 1. Include the sprite once (e.g., at the end of <body>) -->
<!-- ...[the entire <svg> from above]... -->
<!-- 2. Reference an icon anywhere in your markup -->
<svg width="24" height="24" aria-label="Dashboard">
<use href="#icon-dashboard"></use>
</svg>
<!-- Older Safari / IE? -->
<!-- <use xlink:href="#icon-dashboard"></use> -->
Styling tips
/* Change size */
svg.icon-sm { width:16px; height:16px; }
svg.icon-lg { width:32px; height:32px; }
/* Change color */
.btn-primary svg { color:#fff; } /* inherits */
.text-danger svg { color:#dc3545; } /* inherits */
/* Add hover effect */
.sidebar a:hover svg { color:#1d4ed8; transform: scale(1.1); }
Why sprite over individual files?
• 1 HTTP request instead of 12.
• Color & size via CSS, no rebuilds.
• Works great with <use> cloning, so no duplicated markup.
Enjoy dropping this straight into your SaaS project! 🚀