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

@nxavis/aws-icons

v0.0.4

Published

AWS Architecture Icons as React Components - Optimized with tree-shaking support

Readme

AWS Icons for React

AWS Architecture Icons as optimized React components with full TypeScript support and tree-shaking.

🚀 Installation

npm install @nxavis/aws-icons
# or
yarn add @nxavis/aws-icons
# or
pnpm add @nxavis/aws-icons

📦 Features

  • 307 AWS Architecture Icons - Complete set of official AWS service icons
  • Tree-shakable - Import only the icons you need
  • TypeScript Support - Full type definitions included
  • Multiple Formats - ESM, CJS, and UMD builds
  • Customizable - Size, color, and all SVG props supported
  • Lightweight - Data-driven approach, no bloated SVG components

🎯 Usage

Basic Usage

import { AmazonEc2, AmazonS3 } from "@nxavis/aws-icons";

function MyComponent() {
  return (
    <div>
      <AmazonEc2 size={48} />
      <AmazonS3 size={48} color="#FF9900" />
    </div>
  );
}

function MyComponent() { return (


### Dynamic Import (Code Splitting)

For better performance and smaller initial bundle size, use dynamic imports:

```tsx
import { DynamicIcon, iconNames } from "aws-icons/dynamic";

function MyComponent({ iconName }) {
  return <DynamicIcon name={iconName} size={48} />;
}

// Type-safe icon names
type IconName = (typeof iconNames)[number];

function IconPicker() {
  const [selected, setSelected] = useState<IconName>("AmazonEc2");

  return (
    <div>
      <select onChange={(e) => setSelected(e.target.value as IconName)}>
        {iconNames.map((name) => (
          <option key={name} value={name}>
            {name}
          </option>
        ))}
      </select>
      <DynamicIcon name={selected} size={64} />
    </div>
  );
}

Benefits of Dynamic Import:

  • ✅ Only loads the icon when needed
  • ✅ Reduces initial bundle size
  • ✅ Perfect for Next.js App Router with 'use client'
  • ✅ Type-safe with full autocomplete support

With Custom Props

All icons accept standard SVG props:

import { AwsLambda } from "aws-icons";

<AwsLambda
  size={64}
  color="currentColor"
  className="my-icon"
  onClick={() => console.log("Clicked!")}
/>;

Available Props

interface IconProps extends SVGProps<SVGSVGElement> {
  size?: number | string; // Default: 48
  color?: string; // Default: 'currentColor'
  strokeWidth?: number | string;
  absoluteStrokeWidth?: boolean;
}

📚 Available Icons

All icons follow PascalCase naming based on AWS service names:

  • AmazonEc2
  • AmazonS3
  • AwsLambda
  • AmazonDynamoDb
  • ... and 300+ more!

Full icon list available in the icons directory.

🏗️ Build Outputs

  • ESM (dist/esm/): Tree-shakable ES modules
  • CJS (dist/cjs/): CommonJS for Node.js
  • UMD (dist/umd/): Browser-ready minified bundle
  • Types (dist/index.d.ts): TypeScript definitions

📄 License

MIT

🙏 Credits

Icons are sourced from the official AWS Architecture Icons package.