Skip to content
Back to skills

Pixel Icon Library

ASecurity

Use when adding icons to a website, app or design that wants a retro pixel-art look — installs and uses HackerNoon's open-source Pixel Icon Library (24px grid, solid/regular/social variants) via npm, CSS classes, React or raw SVG, with correct CC BY 4.0 attribution.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 21, 2026
designbashreactnodegit

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 21, 2026

npx -y skills add hackernoon/cuttlefish-agent-skills --skill pixel-icon-library --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pixel Icon Library?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pixel Icon Library
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hackernoon-pixel-icon-library/badge)](https://www.skillsdirectory.com/skills/hackernoon-pixel-icon-library)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pixel-icon-library
description: Use when adding icons to a website, app or design that wants a retro pixel-art look — installs and uses HackerNoon's open-source Pixel Icon Library (24px grid, solid/regular/social variants) via npm, CSS classes, React or raw SVG, with correct CC BY 4.0 attribution.
---

# HackerNoon Pixel Icon Library

Open-source pixelated icons designed on a 24px grid. Site: https://pixeliconlibrary.com · Repo: https://github.com/hackernoon/pixel-icon-library · npm: `@hackernoon/pixel-icon-library`

## Install

```bash
npm i @hackernoon/pixel-icon-library
```

## Use as an icon font (HTML)

```html
<link rel="stylesheet" href="node_modules/@hackernoon/pixel-icon-library/fonts/iconfont.css">
<i class="hn hn-icon-name"></i>
```

## React

```jsx
import '@hackernoon/pixel-icon-library/fonts/iconfont.css';
export const Icon = ({ name }) => <i className={`hn hn-${name}`} aria-hidden="true" />;
```

## Raw SVG

Prefer the SVG files in `icons/` when you need to recolor with `currentColor`, inline the icon, or ship only a few icons. Use `<img src="…/icon.svg" alt="…">` for decorative-but-meaningful icons and inline `<svg>` when it must inherit text color.

## Rules

1. Pick icon names from https://pixeliconlibrary.com (search there, then use the `hn-` class shown). Don't guess names; if unsure, check `fonts/iconfont.css` for the class list.
2. Keep icons on multiples of the 24px grid (12, 24, 48) so pixels stay crisp; set `image-rendering: pixelated` on scaled PNGs.
3. Decorative icons get `aria-hidden="true"`; icon-only buttons need an `aria-label`.
4. **Attribution is required.** Icons are CC BY 4.0. Add a credit such as: `Icons by HackerNoon's Pixel Icon Library (pixeliconlibrary.com), CC BY 4.0` in the footer, about page or credits. Other repo files are MIT. Projects that can't attribute can buy a license at https://pixeliconlibrary.com/license/.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.