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

ddk_icons

v1.0.21

Published

great iconss for free

Readme


🧩 DDK Icons

A modern, quirky, and scalable icon library for React, built with consistency and developer control in mind. Includes fully dynamic rendering, soft geometry, and full prop support for fill, stroke, and interaction.


🚀 Features

  • ✅ Dynamic icon rendering via name (<DynamicIcon name="..." />)
  • 🎨 Prop-driven fill, stroke, and toggle between filled/outlined
  • 🧱 Modular icons — use individually or all via dynamic map
  • 🌀 Quirky and soft visual language — clean for apps, design systems, and branding

📦 Installation

npm install ddk_icons

📚 Usage

🔹 Named Imports

import { HomeIcon, GroupIcon } from 'ddk_icons';

<HomeIcon className="w-6 h-6" fill="#002b5b" />
<GroupIcon filled={false} stroke="#294872" />

🔹 Dynamic Icon (by name)

import { DynamicIcon } from 'ddk_icons';

<DynamicIcon name="HomeIcon" fill="#002b5b" />
<DynamicIcon name="GroupIcon" filled={false} stroke="#999" />

🔧 Icon Props

| Prop | Type | Default | Description | | ----------- | --------- | ---------- | --------------------------------------------------- | | name | string | required | Icon name (used in DynamicIcon) | | className | string | '' | CSS utility classes (e.g., Tailwind) | | filled | boolean | true | Fill toggle: true for filled, false for outline | | fill | string | #002b5b | Fill color | | stroke | string | 'none' | Stroke/border color (used when filled={false}) | | ...props | any | | All other props passed to the <svg> element |


🎨 Included Icons

| Icon Name | Description | | ---------------- | ------------------------------------ | | HomeIcon | Soft modern house with center line | | GroupIcon | 3-person layout with center emphasis | | HomeIconQuirky | Abstract, quirky logo-style home |

➡️ More icons can be dynamically generated via the iconMap.js script.


⚙️ Developer Guide

🔁 Update icon map before publish

To sync all icon components with the dynamic map, run:

node generate-icon-map.js

This regenerates iconMap.js for use in DynamicIcon.

🧪 Test local changes

You can run npm link or npm pack to test your library in a local project before publishing.


🛠 Example Tile Component

export const Tile = ({ title, iconName }) => (
  <div className="flex items-center space-x-2 p-2 hover:bg-gray-100 rounded-lg">
    <span>{title}</span>
    <DynamicIcon
      name={iconName}
      className="w-6 h-6"
      fill="#002b5b"
      stroke="#ffffff"
      filled
    />
  </div>
);

📤 Publishing

npm version patch     # or minor/major
npm publish --access public

(Optional) Add this to package.json to always regenerate the map before publishing:

"scripts": {
  "prepublishOnly": "node generate-icon-map.js"
}

📁 Folder Structure

ddk_icons/
├── icons/
│   ├── HomeIcon.js
│   ├── GroupIcon.js
│   └── HomeIconQuirky.js
├── DynamicIcon.js
├── iconMap.js               # auto-generated
├── generate-icon-map.js     # generates iconMap.js
├── index.js                 # main export
└── README.md

🧠 TODO / Coming Soon

  • [ ] Add more icons (settings, profile, arrow, etc.)
  • [ ] Add TypeScript types
  • [ ] Optional outline variants
  • [ ] Category folders (e.g., /outline, /solid)
  • [ ] Icon playground preview app

💙 License

MIT — free to use in commercial and personal projects.