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

@structyl/icons

v1.0.1

Published

The structyl icon set: 1000+ tree-shakeable SVG icon components re-exported from lucide-react, typed for React 18 and 19.

Downloads

209

Readme

@structyl/icons

The structyl icon set — 1000+ accessible, tree-shakeable SVG icons for React.

npm license

The icon layer for structyl. It re-exports the full lucide-react icon set as individual React components, fully typed for React 18 and 19. Using it through @structyl/icons keeps your imports on the structyl scope, so the underlying icon source can evolve without changing your application code.

Installation

# pnpm
pnpm add @structyl/icons

# npm
npm install @structyl/icons

# yarn
yarn add @structyl/icons

react is a peer dependency (^18.0.0 || ^19.0.0) and must be installed in your project.

Usage

Import icons by name. Each icon is a standalone component that accepts the standard SVG props plus size, color, strokeWidth, and absoluteStrokeWidth.

import { Camera, ChevronRight, Settings } from '@structyl/icons';

export function Toolbar() {
  return (
    <div className="flex items-center gap-2">
      <Camera size={20} />
      <Settings size={20} strokeWidth={1.5} />
      <ChevronRight className="text-muted-foreground" aria-hidden />
    </div>
  );
}

Decorative icons should be marked aria-hidden. Icons that convey meaning on their own should be given an accessible label:

import { Trash2 } from '@structyl/icons';

<button aria-label="Delete item">
  <Trash2 size={16} aria-hidden />
</button>;

Because the package is side-effect free, named imports are tree-shaken — only the icons you reference are included in your bundle.

Features

  • Over 1000 SVG icon components, re-exported from lucide-react.
  • Tree-shakeable: "sideEffects": false means unused icons are dropped by your bundler.
  • Fully typed for TypeScript, including the LucideProps and LucideIcon types.
  • Consistent stroke-based design, sizable via size and styleable with className (Tailwind-friendly).
  • React 18 and 19 compatible.
  • Ships ESM and CJS builds with type declarations.

API

@structyl/icons re-exports the public surface of lucide-react:

| Export | Description | | --- | --- | | Named icon components (e.g. Camera, ChevronRight, Settings) | Individual SVG icon components accepting size, color, strokeWidth, absoluteStrokeWidth, and standard SVG props. | | Icon | Generic component for rendering an icon from raw node data. | | createLucideIcon | Factory for building a custom icon component with the lucide API. | | icons | Object map of every icon keyed by name, for dynamic/programmatic lookup. | | LucideProps (type) | Props shared by all icon components. | | LucideIcon (type) | Type of an icon component. |

For the full searchable icon catalog, see lucide.dev/icons.

Part of structyl

This package is part of structyl — see the documentation for the full component library.

License

MIT