JSPM

  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q58324F
  • License MIT

A modern and beautiful icon library built to seamlessly integrate with Paper UI.

Package Exports

  • papericons
  • papericons/import.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (papericons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Logo Banner

Paper Icons is a modern and beautiful icon library built to seamlessly integrate with Paper UI.

Installation

CDN

Import Paper Icons using CDN. The import-min.js file will automatically import all styles and JavaScript files into the <head>.

<script type="module" src="https://icons.paperui.com/cdn/import-min.js"></script>

🚧 Development

<script type="module" src="https://icons.paperui.com/cdn/import-dev.js"></script>

NPM

Install Paper Icons using npm and node.

npm install paper-icons/icons

Import

Import icon definitions from papericons/import.js.

index.js

import 'papericons/import.js';

Usage

Use the <icon-name> tag in HTML markup. Refer to the Icon Docs for more guidance on using each icon. That's it 🎉.

<!-- example icon -->
<i paper-icon="disc"></i>

Check out the demo on codepen.