Packages
open-icon-svg
open-icon-svg is the raw asset package in this repo. It exists for direct SVG imports and for tooling that wants the original files without the main catalog/helper layer.
Install
npm install open-icon-svg
Use it when
- you want to import raw SVG files directly
- you use
vite-plugin-open-iconon packaged SVG files - you need the original file layout as published assets
What it exports
./icons/*for direct SVG asset imports./package.jsonfor package metadata access
Example
import searchIconUrl from 'open-icon-svg/icons/ui/icon_search-m.svg';
import checkInIconUrl from 'open-icon-svg/icons/wayfinding/icon_check%20in.svg';
Pair it with
open-iconwhen you also need catalog helpers and runtime lookupvite-plugin-open-iconfor Vite apps that import SVG modules