Siemens Industrial Experience Icons
Using icons within your project. You need to:
- Install
@siemens/ix-icons
e.g.npm install --save @siemens/ix-icons
- Load styling e.g.
@siemens/ix-icons/dist/scss/ix-icons.css
import { defineCustomElements } from '@siemens/ix-icons/loader';
(async () => {
await defineCustomElements();
})();
<ix-icon name="rocket"></ix-icon>
import { rocket } from '@siemens/ix-icons/icons';
<ix-icon name={rocket}></ix-icon>;
<ix-icon name="/your/asset/path/my-icon.svg"></ix-icon>;
yarn install
yarn build
Contributions, issues and feature requests are welcome!
Copyright © 2019–2023 Siemens AG.
This project is MIT licensed.