@zurich_portal/icons
v3.0.2
Published
svg icons for portal
Readme
Zurich Icons
Icon package for Zurich projects.
Install
npm install @zurich_portal/iconsUsage
const icons = require('@zurich_portal/icons');
// Use one icon by key
const home = icons['home'];
// Or import specific keys (if your build supports it)
const { home, user } = icons;Available icon keys
Because keys come from icons/index.js, you can print the exact list in your project:
node -e "const icons=require('@zurich_portal/icons'); console.log(Object.keys(icons).sort().join('\n'))"Development
Main icon export file: icons/index.js
Package config: icons/package.json
Publish checklist
- Update version in icons/package.json
- Verify exported keys from icons/index.js
- Publish package
