HTML and CDN
No build step, no package. Three ways to put an icon on a plain page, from quickest to most flexible.
Hosted files
Every free icon has its own URL in all six styles. Swap the style and the name:
https://neaticons.com/icons/svg/<style>/<name>.svgStyles are rounded-stroke, rounded-solid, sharp-stroke and sharp-solid. The name is the one on the icon's page. The 1,227 paid icons are not hosted: get them as files with the CLI or the zip.
1. An image
The quickest way. The icon keeps its own dark ink and can't change color.
<img src="https://neaticons.com/icons/svg/rounded-stroke/home.svg" width="24" height="24" alt="Home">Use alt="" when the icon sits next to a word that already says the same thing.
2. Inline SVG
Paste the markup into the page and it follows the text color, like a letter. Files from the CLI already use currentColor:
npx neaticons add home notification --format svg<a href="/" style="color: #0a84ff">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true">…</svg>
Home
</a>3. CSS mask
The file draws the shape, your CSS paints it. Any color, any size, hover states, and one class per icon. Works in every current browser.
.icon {
display: inline-block;
width: 24px;
height: 24px;
background-color: currentColor;
mask: var(--icon) center / contain no-repeat;
}
.icon-home { --icon: url("https://neaticons.com/icons/svg/rounded-stroke/home.svg"); }<span class="icon icon-home" aria-hidden="true"></span>The Solid cut-outs stay see-through here too, so a filled icon keeps its details on any background.
Svelte, Astro, Vue
All three take inline SVG as it is. Add the icons with the CLI (--format svg) and import them the way your framework imports SVG, or paste the markup into a small component. For Vue and Nuxt the CLI writes real .vue components: Vue.