No framework required. Copy an SVG, download a file, or use the hosted icon set.
Copy and paste
Choose an icon in the icon browser and copy its SVG. Inline icons inherit the surrounding text color.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd"><path d="m13.942 1.713 7.097 6.085c.352.342.619.737.789 1.2.117.318.162.652.172.99l-.001 9.107a3.5 3.5 0 0 1-.09.64 3.006 3.006 0 0 1-2.203 2.181 3.3 3.3 0 0 1-.645.083L16.183 22c-.199-.013-.365-.166-.349-.376.007-.096.063-.172.097-.259.046-.118.064-.239.069-.365l-.001-8.058a2.3 2.3 0 0 0-.065-.453 2.01 2.01 0 0 0-.969-1.241A2.1 2.1 0 0 0 14 11l-4.058.001a2.3 2.3 0 0 0-.453.065c-.525.139-.98.494-1.241.969A2.1 2.1 0 0 0 8 13v8c.005.126.022.247.069.365.033.083.087.156.096.247.023.216-.145.371-.348.388l-2.924-.002a3.4 3.4 0 0 1-.628-.089 3.006 3.006 0 0 1-2.181-2.203 3.4 3.4 0 0 1-.083-.638V9.929c.02-.369.083-.723.223-1.067.178-.436.457-.801.799-1.119l7.053-6.045a3.1 3.1 0 0 1 1.35-.643 3 3 0 0 1 1.813.212c.255.115.487.268.703.446"/></svg>Use a single file
Use a hosted SVG directly, or download it and serve it with your own assets.
<img
src="https://filledlucide.dev/icons/house.svg"
width="24"
height="24"
alt="Home"
/>An SVG inside an <img> does not inherit your page’s text color. Use inline SVG or a CSS mask when you need to recolor it.
Color it with CSS
A mask takes the color of its background. Set that background to currentColor to match your text.
.icon-house {
display: inline-block;
width: 1.5em;
height: 1.5em;
background: currentColor;
-webkit-mask: url('https://filledlucide.dev/icons/house.svg') center / contain no-repeat;
mask: url('https://filledlucide.dev/icons/house.svg') center / contain no-repeat;
}<span class="icon-house" aria-hidden="true"></span>Use the SVG sprite
Download sprite.svg and serve it from your own origin. Reference an icon by its name.
<svg width="24" height="24" aria-hidden="true">
<use href="/sprite.svg#house" />
</svg>External SVG <use> references need to be on the same origin as your page. Host the sprite yourself; individual SVG files and CSS masks can use the CDN.
Keep the files in your project
The static package includes SVG files, an SVG sprite and an icon font.
npm install @filled-lucide/staticimport { House } from '@filled-lucide/static';
// House is an SVG string.