Skip to content
iconpacks

SVG

Every icon is a plain SVG file you can paste anywhere.

The file

Each icon is 24 by 24, drawn in strokes of 1.5 in currentColor, with nothing filled and no ids, groups or transforms. Paste it into markup and it takes the colour of the text around it.

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
  <path d="M6.5 2l4.5 4.5-4.5 4.5-4.5-4.5z"/>
  <path d="M8.75 8.75L13.75 13.75"/>
  <path d="M13.75 11.25V13.75H11.25"/>
  <rect x="15.5" y="15.5" width="6.5" height="6.5" rx="1.5"/>
</svg>

Add them with the CLI

In a project without React, Vue or Svelte, init chooses plain SVG and an icons folder; --format svg chooses it anywhere. Then add writes one .svg file per icon.

npx @hasna/iconpacks init --format svg
npx @hasna/iconpacks add tool-call

Copy one

Open any icon on the Icons page and choose Copy SVG. The copy uses the stroke you picked there: 1, 1.5 or 2.

Browse icons

Fetch the pack

The whole pack is one JSON file, with every icon's exact SVG, meaning and keywords. Anyone may fetch it.

curl https://iconpacks.dev/api/v1/packs/agent-icons.json

Search

Search icons by name, meaning and keywords, and the docs.