Aller au contenu
TakoAPI
Retour aux skills

unicon

par charlesrhoward

Web & Frontend Development
456Téléchargements rapportés par clawskills.sh
2Étoiles
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Help users add icons to their projects using the Unicon icon library.

Description

Ce que fait ce skill

Unicon is a CLI that searches and generates icons from 19,000+ icons across 9 libraries including Lucide, Phosphor, Tabler, and Simple Icons. It outputs framework-specific components for React, Vue, and Svelte, generating only the icons you actually use rather than bundling entire libraries.

Instead of installing and shipping entire icon packages like lucide-react or phosphor-react, Unicon generates only the components you need with zero external icon dependencies.

Quand l'utiliser

  • Finding the right icon across multiple libraries with a single search
  • Adding icons to a React project without installing per-library npm packages
  • Generating tree-shakeable icon components for production builds
  • Bundling a curated set of brand logos from Simple Icons for a marketing site
  • Auditing an existing project to find unused or missing icon imports

Exemple de workflow

ENTRÉE

User asks: Add navigation icons to my React project

AGENT
  1. 1

    Run unicon init --interactive to create .uniconrc.json with project settings

  2. 2

    Run unicon search 'arrow chevron menu' --pick to interactively select icons

  3. 3

    Run unicon add nav --query 'arrow chevron menu' to register a named bundle

  4. 4

    Run unicon sync to generate tree-shakeable React components

  5. 5

    Import with import { ArrowRight, Menu } from './src/icons/nav'

SORTIE

Individual .tsx files for each selected icon in src/icons/nav/, ready to import with no external dependencies

Installation

clawhub install charlesrhoward/unicon

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens