Skip to main content
01

Pixelarticons

CLI tool to generate on-demand React components from 486 handmade pixel art icons by Gerrit Halfmann.

TypeScriptCLIReactnpm
Pixelarticons

About

Modern CLI tool that generates React components from the Pixelarticons library — 486 handmade pixel art icons. On-demand generation means you only create the icons you need, keeping bundles small.

Usage

bash
# Initialize config
npx @pyyupsk/pixelarticons init
 
# Generate specific icons
npx @pyyupsk/pixelarticons add archive calendar camera
 
# List all available icons
npx @pyyupsk/pixelarticons list --filter arrow
tsx
import { Archive, Calendar } from "@/components/icons";
 
function App() {
  return (
    <div>
      <Archive size={24} />
      <Calendar size={48} className="text-blue-500" />
    </div>
  );
}

Supports path aliases from tsconfig, safe overwrites with prompts, and tree-shakeable output.