@walker-front/icons-vue
v0.1.0
Published
Tree-shakeable Vue 3 icons for the Front desktop component system.
Readme
@walker-front/icons-vue
Vue 3 monochrome icons for the Front desktop component system.
pnpm add @walker-front/icons-vueimport { IconSearch } from '@walker-front/icons-vue'
;<IconSearch size={16} aria-label="搜索" />- Every glyph inherits
currentColor. - The default size is
1em; numeric and CSS string sizes are supported. - Icons are decorative by default. Supply
title,aria-label, oraria-labelledbywhen the icon carries meaning on its own. - Import a single subpath such as
@walker-front/icons-vue/icons/searchwhen an explicit per-icon entry is useful. iconMetacontains each icon's name, component name, category, keywords, and Figma node link when available. The package intentionally does not expose a dynamic string-to-component registry.
Generation
SVG source files live in src/svg and use the 48 × 48 geometry from the desktop component library's Arco reference page. The generator validates that sources are path-based and monochrome, rejects duplicate names, components, and Figma node IDs, replaces the fixed source color with currentColor, and creates Vue TSX modules.
pnpm icons:generate
pnpm icons:check