Skip to content
iconpacks

Installation

Add icons to your project as files you own.

Set up your project

Run init once. It finds your framework and your components folder, and writes iconpacks.json.

npx @hasna/iconpacks init

Add icons

Name the icons you want. Each one is written to your components folder.

npx @hasna/iconpacks add tool-call approval

Use them

An icon is a component that takes a size and inherits the text colour.

import { ToolCallIcon } from "@/components/icons/tool-call"

export function Step() {
  return <ToolCallIcon className="size-4" />
}

Search

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