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

@lui-craft/luicon

v1.4.1

Published

Smart, customizable, developer-first icon system for React

Readme

luIcon

Smart, customizable, developer-first icon system for React 18+ applications.

npm version npm downloads License

Features

  • Tree-shakeable - Import only the icons you need
  • Smart Icons - Dynamic icons with props (battery, wifi, volume, signal)
  • Animation Support - Built-in spin, pulse, ring, and bounce animations
  • Theme Support - Automatic dark/light mode detection
  • TypeScript - Full type definitions included
  • Tailwind-friendly - Works seamlessly with Tailwind CSS

Installation

npm i @lui-craft/luicon@latest

Usage

Basic Usage

import { LuHome, LuSearch, LuHeart } from '@lui-craft/luicon';

function App() {
  return (
    <div>
      <LuHome size={24} />
      <LuSearch size={20} color="#6366f1" />
      <LuHeart />
    </div>
  );
}

Smart Icons

Smart icons accept dynamic props for real-time state:

import { LuBattery, LuWifi, LuVolume, LuSignal } from '@lui-craft/luicon';

function StatusBar() {
  return (
    <div>
      <LuBattery level={80} />
      <LuWifi strength={3} />
      <LuVolume volume={2} />
      <LuSignal signal={4} />
    </div>
  );
}

Animations

Add built-in animations:

import { LuRefresh, LuBell, LuLoader } from '@lui-craft/luicon';

function LoadingExample() {
  return (
    <div>
      <LuRefresh animate="spin" />
      <LuBell animate="pulse" />
      <LuLoader animate="ring" />
    </div>
  );
}

With LuIconProvider

import { LuIconProvider } from '@lui-craft/luicon';

function App() {
  return (
    <LuIconProvider
      config={{
        strokeWidth: 1.5,
        defaultVariant: 'outline',
        theme: 'auto',
      }}
    >
      <YourApp />
    </LuIconProvider>
  );
}

Custom Props

All icons accept these props:

| Prop | Type | Default | Description | |------|------|---------|-------------| | size | number | string | 24 | Icon size | | color | string | currentColor | Icon color | | strokeWidth | number | 2 | Stroke width | | className | string | - | Additional CSS classes | | animate | 'spin' | 'pulse' | 'ring' | 'bounce' | - | Animation type | | variant | 'outline' | 'filled' | 'duotone' | outline | Icon variant |

Available Icons

Navigation

  • LuHome, LuMenu, LuChevronLeft, LuChevronRight, LuArrowLeft

Actions

  • LuSearch, LuPlus, LuX, LuCheck, LuTrash

Communication

  • LuMail, LuBell, LuPhone, LuMessage

User

  • LuUser, LuUsers, LuUserPlus

Media

  • LuImage, LuPlay, LuPause

Smart Icons

  • LuBattery (level prop), LuWifi (strength prop), LuVolume (volume prop), LuSignal (signal prop)

UI Elements

  • LuSettings, LuHeart, LuStar, LuEye, LuEyeOff

Files

  • LuFolder

Data & Analytics

  • LuBarChart, LuPieChart, LuTrendingUp, LuTrendingDown, LuActivity

Editor & Formatting

  • LuType, LuBold, LuItalic, LuAlignLeft, LuAlignCenter

E-commerce & Finance

  • LuShoppingCart, LuCreditCard, LuTag, LuWallet, LuReceipt

Layout & Display

  • LuLayout, LuGrid, LuList, LuMaximize, LuMinimize

Cloud & Infrastructure

  • LuCloud, LuDatabase, LuServer, LuHardDrive, LuDownload

UI Essentials

  • LuCalendar, LuClock, LuMap, LuCamera, LuLock

Tree-shaking

Import icons individually for optimal tree-shaking:

// ✅ Good - only imports LuHome
import { LuHome } from '@lui-craft/luicon';

// ❌ Bad - imports all icons
import * as Icons from '@lui-craft/luicon';

License

MIT License - see LICENSE for details.