New:Socket for Asana Is Now Available.Learn more
Get Started

@lumal/icons

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumal/icons

Framework-agnostic Lumal icon registry and SVG utilities.

latest
npmnpm
Version
0.0.1-beta
Version published
Maintainers
1
Created
Source

@lumal/icons

框架无关的 Lumal 图标内核,提供图标注册表、分组、SVG 改色、渐变、校验、合成、Data URI 缓存和 Vite 静态 SVG 插件。

import { recolorSvgString, registerIcons } from '@lumal/icons'

registerIcons([
  {
    key: 'app:dashboard',
    source: 'local-svg',
    svgText: '<svg viewBox="0 0 24 24"><path fill="currentColor" d="..."/></svg>',
  },
])

const blueSvg = recolorSvgString(svgText, '#1677ff')

该包没有 Vue 或其他 UI 框架运行时依赖。Vue 组件由 @lumal/icons-vue 提供,详细说明见仓库文档 docs/icons.md

Keywords

lumal

FAQs

Package last updated on 19 Jul 2026

Related posts