Agent skill

Solar Icons

by saoudi-h in saoudi-h/solar-icons

Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project.

MITAuto-check passedFrontend & Design

Install Solar Icons

skills CLI
$ npx skills add saoudi-h/solar-icons --skill solar-icons -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install saoudi-h/solar-icons solar-icons --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/saoudi-h/solar-icons.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/solar-icons .claude/skills/solar-icons && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
solar-icons
GitHub stars
190
Token cost
~2.1k tokens
SKILL.md length
639 words
Files
5 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project.

  • Works in 7 steps: Detect framework (package.json): react →… → Install with the project's PM (pnpm add… → Search via CLI (offline, no API key) → …
  • Installing @solar-icons/react|vue|svelte|solid|angular|react-native|nuxt|static|js
  • SKILL.md covers When to use, Quick decision — Solar vs others, Packages at a glance… and Workflow — add icons to a…, plus 5 more sections
  • Calls npx, pnpm and composer

What it does

Solar Icons is an agent skill from saoudi-h/solar-icons. Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project. Use when installing @solar-icons/react|vue|svelte|solid|angular|react-native|nuxt|static|js or solar-icons/blade, choosing an icon, picking Bold|Linear|Outline|BoldDuotone|LineDuotone|Broken, or wiring SolarProvider, useSolar, secondaryColor, secondaryOpacity, strokeWidth, color, size. Triggers on solar icons, solar-icons, Icon suffix, kebab-case imports, duotone, and…

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/catalog.md`, `references/frameworks.md` and `references/overview.md`).

It sits in Frontend & Design, covering Icons and illustration, Cross-platform mobile apps and Design tokens. It works with React, Vue.js, Svelte and Angular. The licence is MIT.

When your agent uses it

  • Installing @solar-icons/react|vue|svelte|solid|angular|react-native|nuxt|static|js
  • Solar-icons/blade
  • Choosing an icon
  • Picking Bold|Linear|Outline|BoldDuotone|LineDuotone|Broken

Example prompts

  • “/solar-icons”

Requirements

  • Node.js
  • Pre-approved tools (allowed-tools): Bash(npx @solar-icons/cli *), Read, Grep, Glob, Bash(pnpm:*)

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Detect framework (package.json): react → @solar-icons/react, vue → vue, svelte → svelte, solid-js → solid, @angular/core → angular…
  2. Install with the project's PM (pnpm add @solar-icons/; respect packageManager field).
  3. Search via CLI (offline, no API key)
  4. Pick a style: static page → per-file import; toggle/state → dynamic + weight prop.
  5. Get snippet / SVG
  6. Wire provider if you need global tokens: references/.md for --solar-*. Never pass raw style overrides when provider tokens suffice.
  7. Verify: pnpm --filter @solar-icons/ run build && pnpm --filter @solar-icons/ run test or check demo app.

What it can do on your machine

Read from SKILL.md and the folder at commit c0147c3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(npx @solar-icons/cli *)
    • Read
    • Grep
    • Glob
    • Bash(pnpm:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • pnpm
    • composer

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • solar-icons.vercel.app
    • figma.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Solar Icons loads about 2.1k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 138 tokens; SKILL.md has 639 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~138
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from saoudi-h/solar-icons at commit c0147c3, republished under its MIT licence (© saoudi-h). 639 words, ~2,133 tokens.

Download SKILL.mdSave it as .claude/skills/solar-icons/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
solar-icons
description
Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project. Use when installing @solar-icons/react|vue|svelte|solid|angular|react-native|nuxt|static|js or solar-icons/blade, choosing an icon, picking Bold|Linear|Outline|BoldDuotone|LineDuotone|Broken, or wiring SolarProvider, useSolar, secondaryColor, secondaryOpacity, strokeWidth, color, size. Triggers on solar icons, solar-icons, Icon suffix, kebab-case imports, duotone, and CSS variables --solar-*.
allowed-tools
Bash(npx @solar-icons/cli *), Read, Grep, Glob, Bash(pnpm:*)
license
MIT
metadata.author
saoudi-h
metadata.version
2.1.0

Solar Icons

Solar Icons is the maintained distribution of the Solar icon set, packaged per framework with CSS-variable theming and tree-shakable imports. Source of truth for counts and catalog is @solar-icons/static (run npx @solar-icons/cli overview for current figures).

Install: npx skills add saoudi-h/solar-icons --skill solar-icons · CLI: npx @solar-icons/cli --help

When to use

  • Adding or migrating an icon library (Lucide, Phosphor, Tabler, Heroicons) and need a Solar replacement.
  • Choosing or switching a style: Bold • Linear • Outline • BoldDuotone • LineDuotone • Broken.
  • Wiring theming: SolarProvider, useSolar, secondaryColor / secondaryOpacity, strokeWidth, color, size, --solar-*.
  • Debugging missing/duplicated icons, stale dist/, or kebab-case import errors.

Quick decision — Solar vs others

NeedPick Solar when
1 style, minimal bundleLucide is fine; Solar's Linear/Broken are close analogues — see references/overview.md
6 weights + duotone as design tokensSolar (6 styles, editable 1.5 px strokes, duotone accent) or Phosphor
4k+ breadthTabler/Hugeicons — check coverage via overview before switching
Brand logosSolar does not ship logos — pair with Simple Icons

Packages at a glance (per-file, style in path — generic name)

PackageImport (per-file, recommended)ProviderRef
@solar-icons/reactimport { HomeIcon } from "@solar-icons/react/bold/home"<SolarProvider> + useSolar()references/react.md
@solar-icons/vueimport { HomeIcon } from "@solar-icons/vue/bold/home"app.use(SolarIconsPlugin)references/vue.md
@solar-icons/svelteimport HomeIcon from "@solar-icons/svelte/bold/heart" (default)Svelte 5 runesreferences/svelte.md
@solar-icons/solidimport { HomeIcon } from "@solar-icons/solid/bold/home"SolarProvider (signal)references/solid.md
@solar-icons/angularimport { SolarHomeBold } from "@solar-icons/angular"<solar-provider> directivereferences/angular.md
@solar-icons/react-nativeimport { HomeIcon } from "@solar-icons/react-native/bold/home"alt → accessibilityLabelreferences/react-native.md
@solar-icons/nuxtnuxt.config: modules: ["@solar-icons/nuxt"]provider: true defaultreferences/nuxt.md
@solar-icons/staticimport url from "@solar-icons/static/bold/home.svg"nonereferences/static.md
@solar-icons/jsimport { createIcons } from "@solar-icons/js"10-line helperreferences/js.md
solar-icons/blade<x-solar-bold-home />config defaults (solar-icons-blade.php)references/frameworks.md

Top-level alternative (style in name, single import): import { HomeBoldIcon } from "@solar-icons/react" — see references/frameworks.md. Rule: kebab-case (bold/home, bold-duotone/arrow-up). Bold/Home is stale (V2-13). If imports fail, pnpm build.

Workflow — add icons to a project

  1. Detect framework (package.json): react → @solar-icons/react, vue → vue, svelte → svelte, solid-js → solid, @angular/core → angular, react-native → react-native, nuxt → nuxt, none → static/js. Laravel (composer.json + illuminate/*) → solar-icons/blade via composer require solar-icons/blade.
  2. Install with the project's PM (pnpm add @solar-icons/<pkg>; respect packageManager field).
  3. Search via CLI (offline, no API key):
    bash
    npx @solar-icons/cli search "shopping cart" --limit 20
    npx @solar-icons/cli search "arrow" --limit 10 --style linear --json
    npx @solar-icons/cli search "home" --framework react   # with import snippet
  4. Pick a style: static page → per-file import; toggle/state → dynamic + weight prop.
  5. Get snippet / SVG:
    bash
    npx @solar-icons/cli get home --style bold --framework react
    npx @solar-icons/cli get home --style linear --out ./src/icons/home.svg --json
    npx @solar-icons/cli info arrow-up --json   # all frameworks + styles + CDN
  6. Wire provider if you need global tokens: references/<framework>.md for --solar-*. Never pass raw style overrides when provider tokens suffice.
  7. Verify: pnpm --filter @solar-icons/<pkg> run build && pnpm --filter @solar-icons/<pkg> run test or check demo app.
Show full SKILL.md (233 more words)Show less

CLI — single source of truth

All catalog data comes from @solar-icons/static (not hardcoded):

bash
npx @solar-icons/cli overview --json   # { icons:1380, categories:37, styles:6, variations:8280, packages:[...], figma, docs }
npx @solar-icons/cli list --category home --limit 20 --json
npx @solar-icons/cli categories --json
npx @solar-icons/cli styles --json

--json is machine-readable for agents and the future MCP server (packages/mcp-server will import src/index.ts from @solar-icons/cli).

Core rules (don’t guess)

  • Never mix styles inside one component name. HomeBoldIcon is Bold; for runtime switching use dynamic: import { HeartIcon } from "@solar-icons/react/dynamic" + weight="linear" prop.
  • Duotone needs both props: secondaryColor + secondaryOpacity (default 0.5). Only BoldDuotone / LineDuotone honor them.
  • Stroke width only Linear, Broken, LineDuotone (default 1.5).
  • Scale exists in two categories (arrows-action + devices) — deduplicate barrel imports via seen Set when codegenning.
  • After renaming a style dir, rebuild — dist/ stale until pnpm build.
  • Angular host class: static icons own solar solar-{kebab}-{style}; dynamic component does not set host class (see references/angular.md).
  • Static site rule: sprite <svg><use href="…#solar-home-bold"> + alt on <img>.

Provider quick ref

tsx
// React / Solid / Vue / Svelte — CSS variables on the wrapper
<SolarProvider color="currentColor" size={24} strokeWidth={1.5} secondaryColor="#888" secondaryOpacity={0.5}>
  <HomeIcon />  {/* from "@solar-icons/react/bold/home" */}
</SolarProvider>

// Dynamic switching
import { HeartIcon } from "@solar-icons/react/dynamic"
<HeartIcon name="home" weight="linear" />

For framework specifics, load the matching reference: references/react.md, vue.md, svelte.md, solid.md, angular.md, react-native.md, nuxt.md, static.md, js.md.

Troubleshooting

  • Cannot find module '@solar-icons/react/Bold/Home' → rename to @solar-icons/react/bold/home and pnpm build.
  • Transparent 24×24 PNG → use SVG clean source (@solar-icons/static) + canvas snapshot (not canvas on CSS-var SVG alone).
  • svelte or ngc errors after bump → see references/svelte.md / angular.md (TS6 vs TS7 split).
  • Icon count drift → npx @solar-icons/cli overview vs pnpm check:icon-inventory; regenerate assets/solar-icons-cheatsheet.json if needed.

More: references/troubleshooting.md.

Further reading

  • references/overview.md — catalog, licenses, attribution, Figma plugin note
  • references/frameworks.md — 9-package matrix + peer ranges
  • references/catalog.md — categories, tags, search field semantics (and CLI as source)
  • references/<framework>.md — install → import → provider → props → gotchas per framework

© saoudi-h, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/solar-icons of saoudi-h/solar-icons.

  • SKILL.md
  • references/catalog.md
  • references/frameworks.md
  • references/overview.md
  • references/troubleshooting.md

Open the folder on GitHubat commit c0147c3

Compare with similar skills

Solar Icons next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Solar Icons compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Solar Icons this skillsaoudi-h/solar-icons190—~2.1kAutomated safety check: PassMIT
Lunora Realtimeanolilab/lunora284—~2.7kAutomated safety check: PassCustom licence
JSON Render Catalogyonatangross/orchestkit292—~6.4kAutomated safety check: PassMIT
Frontend UI Foundryjiushiwon/wg-skills114—~1.4kAutomated safety check: PassApache-2.0
UI UX Pro Maxmajiayu000/spellbook287—~442Automated safety check: PassMIT
Boneyard0xGF/boneyard7.5k—~2.2kAutomated safety check: NotesMIT

Similar skills

  • Lunora Realtime

    anolilab/lunora

    Wires Lunora's live data into a client app. An agent skill from anolilab/lunora.

    284 GitHub stars~2.7k tokensUpdated today
    MobileAuto-check passed
  • JSON Render Catalog

    yonatangross/orchestkit

    json-render component catalog patterns for AI-safe generative UI.

    292 GitHub stars~6.4k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Frontend UI Foundry

    jiushiwon/wg-skills

    A skill your agent uses when generating UI for a specific scenario (mobile/PC/官网/管理端/营销页/文档/金融/原生/3D), when refactoring an existing HTML/Vue/React project to a unified design system, when extracting…

    114 GitHub stars~1.4k tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    majiayu000/spellbook

    A skill your agent uses when planning, building, designing, code review, refactor, fixing, improving, optimizing, enhancing, or checking UI/UX work.

    287 GitHub stars~442 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Boneyard

    0xGF/boneyard

    Use boneyard-js to add, configure, debug, or rebuild skeleton screens.

    7.5k GitHub stars~2.2k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check: notes
  • Markstream Install

    sickn33/agentic-awesome-skills

    Install and configure Markstream streaming Markdown renderers for Vue, React, Svelte, Angular, Nuxt, Next.js, and Vue 2 applications.

    47k GitHub starsUsed in 1 repo~2k tokens
    Frontend & DesignAuto-check passed

More from saoudi-h/solar-icons

  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    190 GitHub starsUsed in 18 repos~11k tokens
    Auto-check: notes

Questions about Solar Icons

What does Solar Icons do?

Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project. Solar Icons is an agent skill from saoudi-h/solar-icons. Add Solar Icons via @solar-icons/cli to any React, Vue, Svelte, Solid, Angular, React Native, Nuxt, Static, vanilla JS, or Laravel Blade project.

When should I use Solar Icons?

Solar Icons fits situations like: installing @solar-icons/react|vue|svelte|solid|angular|react-native|nuxt|static|js; solar-icons/blade; choosing an icon; picking Bold|Linear|Outline|BoldDuotone|LineDuotone|Broken.

How do I install Solar Icons in Claude Code?

Run `npx skills add saoudi-h/solar-icons --skill solar-icons -a claude-code`. Or copy the skill folder (skills/solar-icons in saoudi-h/solar-icons) into .claude/skills/solar-icons in your project. Claude Code loads it when a task matches its description.

How do I install Solar Icons in Codex?

Run `npx skills add saoudi-h/solar-icons --skill solar-icons -a codex`. Or copy the skill folder (skills/solar-icons in saoudi-h/solar-icons) into .agents/skills/solar-icons in your project. Codex loads it when a task matches its description.

Can I use Solar Icons in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add saoudi-h/solar-icons --skill solar-icons -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/solar-icons, .gemini/skills/solar-icons, .github/skills/solar-icons and .opencode/skills/solar-icons in your project.

What does Solar Icons need to run?

Going by SKILL.md and its folder, Solar Icons needs the command-line tools its instructions call (npx, pnpm and composer). Our summary lists: Node.js. Its frontmatter pre-approves these tools: Bash(npx @solar-icons/cli *), Read, Grep, Glob, Bash(pnpm:*).

Does Solar Icons access the network?

SKILL.md names 2 domains. As links in the text: solar-icons.vercel.app and figma.com. This is read from the text; nothing was executed.

Is Solar Icons safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Solar Icons use?

Solar Icons is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Solar Icons use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.

What are the alternatives to Solar Icons?

Skills that share tags, products or a category with Solar Icons: Lunora Realtime (anolilab/lunora, 284 stars), JSON Render Catalog (yonatangross/orchestkit, 292 stars), Frontend UI Foundry (jiushiwon/wg-skills, 114 stars) and UI UX Pro Max (majiayu000/spellbook, 287 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Solar Icons?

saoudi-h (a GitHub user) maintains it in saoudi-h/solar-icons, which has 190 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 9, 2026.

Source: saoudi-h/solar-icons on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.