New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

open-icon

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-icon

Primary Open Icon package with generated catalog helpers and icon access APIs.

latest
Source
npmnpm
Version
1.1.9
Version published
Weekly downloads
325
-70.8%
Maintainers
1
Weekly downloads
 
Created
Source

open-icon

open-icon is the main package for the Open Icon catalog.

It gives you:

  • typed icon names and categories
  • a root Icons lookup for app code
  • loadIcon() from open-icon/runtime for per-icon lazy loading
  • getIcon() from open-icon or open-icon/static for synchronous SVG access
  • tree-shakable named exports from open-icon/icons

Install

npm install open-icon

Choose the entrypoint

import { Icons, getIcon, getOpenIconImportPath } from 'open-icon';
import { loadIcon } from 'open-icon/runtime';

const iconName = Icons.UI_ADD_M;
const iconSvg = getIcon(iconName);
const lazyIconSvg = await loadIcon(iconName);
const importPath = getOpenIconImportPath('wayfinding/check-in');
  • open-icon and open-icon/static include synchronous getIcon() access. Use them for static rendering, server rendering, or tooling.
  • open-icon/runtime keeps icon markup behind per-icon loaders. Use it when wrappers or apps should avoid pulling the full icon map into the default client path.

Tree-shakable icons

import { IconAddM, IconUiKey } from 'open-icon/icons';

console.log(IconAddM);
console.log(IconUiKey);

Package split

  • open-icon is the main catalog/helper package
  • open-icon/runtime is the lazy runtime entrypoint
  • open-icon/static is the synchronous full-catalog entrypoint
  • open-icon-svg ships the raw SVG files
  • open-icon-transform applies the transform pipeline in scripts and tooling
  • vite-plugin-open-icon applies the transform pipeline during Vite imports

Keywords

icons

FAQs

Package last updated on 30 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts