On this page
SVG and HTML
Use AXIcons as inline SVG or static files in plain HTML.
Inline SVG
Copy the markup from the icon explorer. Inline icons inherit color from their parent.
<button style="color: #16a34a">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12l5 5L20 7"/></svg>
Saved
</button>Static files
Optimised files ship in @axcore/xicons at dist/svg/<name>.svg, exported as @axcore/xicons/svg/<name>.svg. Copy the ones you need into your public folder.
<img src="/icons/camera.svg" width="24" height="24" alt="" />Something wrong or missing?Open an issue