npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

beacon-icons

v3.2.6

Published

Beacon Design System - Icon components

Readme

Beacon Icons

Icon component library for Beacon Design System. A collection of 94+ SVG icons built as React components.

Installation

npm install beacon-icons

Usage

import { SearchIcon, ChevronDownIcon, CheckIcon } from 'beacon-icons';

function MyComponent() {
  return (
    <div>
      <SearchIcon size="xs" />
      <ChevronDownIcon size="sm" />
      <CheckIcon size={20} />
    </div>
  );
}

Adding New Icons

To add new icons to the library:

  1. Place your .svg files in the icons/ directory at the project root.
  2. Run the preparation script from the root:
    npm run prepare:icons
  3. Rebuild the icons package:
    npm run build:icons
  4. Remove the source SVG files from the icons/ directory to avoid duplication in future runs.

Icon Props

interface IconProps {
  size?: number | "xs" | "sm" | "rg" | "md" | "lg" | "xl" | "2xl";
  className?: string;
  color?: string;
}

Available Icons

Navigation

  • ChevronDownIcon, ChevronUpIcon, ChevronLeftIcon, ChevronRightIcon
  • DownArrowIcon, UpArrowIcon, LeftArrowIcon, RightArrowIcon
  • MenuIcon, CloseIcon

Actions

  • SearchIcon, SearchFilledIcon
  • CheckIcon, CopyIcon
  • DownloadIcon, LinkIcon
  • DeleteBinIcon, DeleteBinFilledIcon
  • PencilIcon, PencilFilledIcon

User & Profile

  • UserPersonIcon, UserPersonFilledIcon
  • UserCircleIcon, UserCircleFilledIcon

UI Elements

  • ListIcon, ListCheckIcon, ListDetailsIcon
  • GridUILayoutIcon, GridUILayoutFilledIcon
  • SettingsGearIcon, SettingsGearFilledIcon

Communication

  • EmailEnvelopeIcon, EmailEnvelopeFilledIcon
  • MessageDotsIcon, MessageDotsFilledIcon
  • PhoneCallIcon, PhoneCallFilledIcon

Status & Alerts

  • AlertTriangleErrorIcon, AlertTriangleErrorFilledIcon
  • CircleErrorIcon, CircleErrorFilledIcon
  • ErrorSearchIcon, ErrorSearchFilledIcon

Time & Calendar

  • CalendarIcon, CalendarFilledIcon
  • TimerAlarmIcon, TimerAlarmFilledIcon

Theme

  • SunIcon, SunFilledIcon
  • MoonIcon, MoonFilledIcon
  • PaletteIcon, PaletteFilledIcon

And many more...

Size Options

Icons support both token-based sizes and numeric pixel values:

// Token-based sizes
<SearchIcon size="xs" />   // Extra small
<SearchIcon size="sm" />    // Small
<SearchIcon size="rg" />    // Regular (default)
<SearchIcon size="md" />    // Medium
<SearchIcon size="lg" />    // Large
<SearchIcon size="xl" />    // Extra large
<SearchIcon size="2xl" />   // 2X large

// Numeric pixel values
<SearchIcon size={16} />
<SearchIcon size={24} />

Styling

Icons use currentColor by default, so they inherit the text color:

<div style={{ color: 'var(--fg-primary)' }}>
  <SearchIcon size="md" />
</div>

You can also override the color directly using the color prop:

<SearchIcon size="md" color="#ff0000" />
<SearchIcon size="md" color="var(--fg-primary)" />
<SearchIcon size="md" color="rgb(255, 0, 0)" />

Or use className for custom styling:

<SearchIcon size="md" className="my-icon-class" />

Version

Current version: 3.2.2

License

MIT

Repository

https://github.com/raza-ahmed/beacon