open-icon-svg
v0.1.9
Published
Open Icon SVG catalog with generated names, types, and lookup metadata.
Downloads
1,136
Maintainers
Readme
open-icon-svg
open-icon-svg is the raw SVG asset package for Open Icon.
It exists so apps, loaders, and tooling can import the original files directly without pulling in the main catalog/helper package.
Install
npm install open-icon-svgUsage
Import SVG files directly from the package:
import searchIconUrl from 'open-icon-svg/icons/ui/icon_search-m.svg';
import checkInIconUrl from 'open-icon-svg/icons/wayfinding/icon_check%20in.svg';Use it with vite-plugin-open-icon when you want transform-at-import behavior:
import searchIcon from 'open-icon-svg/icons/ui/icon_search-m.svg?open-icon';Package split
open-iconis the main catalog/helper packageopen-icon-svgships only the raw SVG filesopen-icon-transformhandles SVG transformation in scripts and toolingvite-plugin-open-iconconnects the transform layer to Vite
