-
Install Clarity Icons package through npm:
npm install @clr/icons
-
Install the polyfill for Custom Elements:
npm install @webcomponents/custom-elements
-
Include the clr-icons.min.css and clr-icons.min.js in your HTML. As clr-icons.min.js is dependent on the Custom Elements polyfill, make sure to include it before clr-icons.min.js:
<link rel="stylesheet" href="path/to/node_modules/clr-icons/clr-icons.min.css"> <script src="path/to/node_modules/@webcomponents/custom-elements/custom-elements.min.js"></script> <script src="path/to/node_modules/clr-icons/clr-icons.min.js"></script>
@clr/icons
13.0.2 • Public • Published Readme
Keywords
nonePackage Sidebar
Install
npm i @clr/icons
Repository
Homepage
Weekly Downloads
18,242
Version
13.0.2
License
MIT
Unpacked Size
7.17 MB
Total Files
76