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

aura-ui-icons

v0.1.1

Published

Unified React icon library combining Lucide, Phosphor, Heroicons, Radix, and Tabler icons with clean suffix-free components, full TypeScript support, and tree-shakable imports.

Readme

🎨 Aura UI Icons

One import for many icon sets. Use icons from Lucide, Phosphor, Heroicons (outline/solid), Radix, and Tabler — all via aura-ui-icons. Clean names (<Home />, not <HomeIcon />), tree-shakable imports, and full TypeScript support.


📦 Install

# core package
pnpm add aura-ui-icons react react-dom
# or npm / yarn
# npm i aura-ui-icons react react-dom
# yarn add aura-ui-icons react react-dom

This package re-exports official icon libraries. Install only the sets you plan to use (optional but recommended for smaller installs):

pnpm add lucide-react @phosphor-icons/react @heroicons/react @radix-ui/react-icons @tabler/icons-react

✨ Quick Start

Named imports (recommended)

import { Home, Bell } from "aura-ui-icons/heroicons/outline";
import { Home as HomeSolid } from "aura-ui-icons/heroicons/solid";
import { Camera, Settings } from "aura-ui-icons/lucide";

export default function Example() {
  return (
    <>
      <Home />
      <HomeSolid />
      <Camera width={20} height={20} />
      <Settings aria-label="settings" />
      <Bell className="text-blue-500" />
    </>
  );
}

Deep per-icon imports (maximum tree-shaking)

import Home from "aura-ui-icons/heroicons/outline/Home";
import Camera from "aura-ui-icons/lucide/Camera";

export function Header() {
  return (
    <>
      <Home />
      <Camera />
    </>
  );
}

Dynamic icon (when the icon name comes from data)

import { Icon } from "aura-ui-icons";

export function DynamicIcons() {
  return (
    <>
      <Icon set="lucide" name="Camera" size={24} />
      <Icon set="heroicons/outline" name="Home" />
      <Icon set="heroicons/solid" name="Bell" color="#f59e0b" />
    </>
  );
}

Supported set values:

  • "lucide"
  • "phosphor"
  • "radix"
  • "heroicons/outline"
  • "heroicons/solid"
  • "tabler"

🧠 Props & Behavior

All icons are standard React SVG components, so you can pass any <svg> prop:

<Camera
  width={24}
  height={24}
  strokeWidth={1.5}   // for stroke-based sets (e.g., lucide)
  color="currentColor"
  className="text-gray-600"
/>

The <Icon /> helper accepts:

  • set: one of the supported sets above
  • name: exact icon component name (suffix-free, e.g., "Home", "Camera")
  • size: number or string → applied to width and height
  • any other SVG props (e.g., color, className, aria-label)

🔍 Finding icon names

Icon names match each library’s official names, but cleaned to be suffix-free:

  • Heroicons exports HomeIcon → use "Home"
  • Tabler exports IconHome → use "Home"
  • Many already match (e.g., Lucide Camera"Camera")

Tip: temporarily render a couple and rely on your IDE’s autocomplete from subpath imports:

import * as Lucide from "aura-ui-icons/lucide";
// Lucide.Camera, Lucide.Settings, ...

🧩 Common Examples

With Tailwind

import { Home } from "aura-ui-icons/heroicons/outline";
export const LinkItem = () => <Home className="w-5 h-5 text-slate-600" />;

In a Button

import { Settings } from "aura-ui-icons/lucide";
export const IconButton = () => (
  <button aria-label="settings">
    <Settings width={18} height={18} />
  </button>
);

In a Menu/List

import { Bell, Home } from "aura-ui-icons/heroicons/solid";
export function Menu() {
  return (
    <ul>
      <li><Home /> Dashboard</li>
      <li><Bell /> Notifications</li>
    </ul>
  );
}

⚡ Performance Tips

  • Prefer named or deep per-icon imports for best tree-shaking:

    import { Camera } from "aura-ui-icons/lucide";        // good
    import Camera from "aura-ui-icons/lucide/Camera";     // best
  • Use <Icon /> only when the icon is dynamic at runtime.

  • Install only the icon sets you actually use (they’re optional peer deps).


🧰 TypeScript

You’ll get full types out of the box. If your editor complains about React types, ensure:

pnpm add -D @types/react @types/react-dom

❓FAQ

Q: Do I need to install all icon libraries? A: No. Install only the sets you use. Others remain optional.

Q: Why do some names differ from upstream docs? A: We normalize names to be suffix-free (Home instead of HomeIcon/IconHome). Use the subpath’s exports to see exact names via autocomplete.

Q: SSR / Next.js? A: Prefer static imports (named or deep) for SSR. The <Icon /> helper uses dynamic imports and is best for client-side use.


🪪 License

  • Aura UI Icons: MIT
  • Third-party icon libraries: their respective licenses (e.g., MIT for Lucide/Heroicons/Phosphor/Radix/Tabler)

Happy shipping! If you’d like a mini cheatsheet (one-page with the most common imports), say the word and I’ll generate it.