Solar Icons
Packages

CLI

Solar Icons command-line interface to search, inspect, and export icons from the terminal.

pnpm add -D @solar-icons/cli

The CLI searches the maintained catalogue offline, using @solar-icons/static as its source of truth:

npx @solar-icons/cli search "arrow right"

Inspect and export

List styles, categories, and metadata, and export the exact SVG bodies your build needs. For programmatic use, pass --json:

npx @solar-icons/cli search "arrow right" --json

See @solar-icons/cli for the full command reference.

How is this guide?

Last updated on

On this page