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

@zentrades-ui/icons

v0.2.2

Published

Icon library for Zen UI with 25+ commonly used icons.

Readme

@zentrades-ui/icons

A collection of 25+ commonly used SVG icons for the Zen UI design system. All icons are optimized for React with full TypeScript support.

Installation

npm install @zentrades-ui/icons
# or
pnpm add @zentrades-ui/icons
# or
yarn add @zentrades-ui/icons

Usage

Using Individual Icon Components

Import and use icons directly by their component name:

import { CheckIcon, ChevronDownIcon, SearchIcon } from "@zentrades-ui/icons";

function App() {
  return (
    <div>
      <CheckIcon size="24" />
      <ChevronDownIcon size="16" />
      <SearchIcon size="20" />
    </div>
  );
}

Using IconByName (Dynamic Icons)

Use the IconByName component when you need to render icons dynamically:

import { IconByName } from "@zentrades-ui/icons";

function App() {
  return (
    <div>
      <IconByName name="check" size="24" />
      <IconByName name="chevron-down" size="16" />
      <IconByName name="search" size="20" />
    </div>
  );
}

Creating Custom Icons

Use the base Icon component to create your own icons:

import { Icon, IconProps } from "@zentrades-ui/icons";

function MyCustomIcon(props: IconProps) {
  return (
    <Icon viewBox="0 0 24 24" {...props}>
      <path d="M12 2L2 22h20L12 2z" stroke="currentColor" />
    </Icon>
  );
}

Props

Common Icon Props

| Prop | Type | Default | Description | | ----------- | ------------------------------------------------- | --------- | -------------------------- | | size | "12" \| "16" \| "20" \| "24" \| "32" \| "40" \| "48" | "24" | Icon size in pixels | | title | string | - | Accessible title for the icon | | className | string | - | Additional CSS class | | viewBox | string | "0 0 24 24" | SVG viewBox attribute |

All icons also accept standard SVG props like stroke, strokeWidth, fill, color, etc.

IconByName Props

| Prop | Type | Required | Description | | ------ | ---------- | -------- | ------------------------- | | name | IconName | Yes | Name of the icon to render |

Available Icons

| Name | Component | Description | | ----------------- | -------------------- | ------------------------------ | | chevron-left | ChevronLeftIcon | Left chevron arrow | | chevron-right | ChevronRightIcon | Right chevron arrow | | chevron-down | ChevronDownIcon | Down chevron arrow | | chevron-up | ChevronUpIcon | Up chevron arrow | | close | CloseIcon | Close/X icon | | check | CheckIcon | Checkmark | | plus | PlusIcon | Plus/Add icon | | minus | MinusIcon | Minus/Remove icon | | search | SearchIcon | Search/Magnifying glass | | calendar | CalendarIcon | Calendar | | clock | ClockIcon | Clock/Time | | upload-cloud | UploadCloudIcon | Cloud upload | | more-vertical | MoreVerticalIcon | Vertical ellipsis menu | | more-horizontal | MoreHorizontalIcon | Horizontal ellipsis menu | | arrow-left | ArrowLeftIcon | Left arrow | | arrow-right | ArrowRightIcon | Right arrow | | info | InfoIcon | Information circle | | alert-circle | AlertCircleIcon | Alert/Warning circle | | check-circle | CheckCircleIcon | Success/Check circle | | trash | TrashIcon | Delete/Trash | | edit | EditIcon | Edit/Pencil | | copy | CopyIcon | Copy/Duplicate | | external-link | ExternalLinkIcon | External link arrow | | filter | FilterIcon | Filter | | sort | SortIcon | Sort arrows | | settings | SettingsIcon | Settings/Sliders | | user | UserIcon | User/Profile |

Examples

With Custom Color

<CheckIcon size="24" stroke="#10b981" />
<CheckIcon size="24" style={{ color: "var(--color-success)" }} />

With Custom Stroke Width

<CheckIcon size="24" strokeWidth={2.5} />

With Accessibility Title

<CheckIcon size="24" title="Task completed" />

Getting Available Icon Names

import { iconNames } from "@zentrades-ui/icons";

console.log(iconNames);
// ['chevron-left', 'chevron-right', 'chevron-down', ...]

TypeScript

Full TypeScript support with exported types:

import type { IconProps, IconName, IconSize, NamedIconProps } from "@zentrades-ui/icons";

License

MIT