JSPM

@shopify/polaris-icons

3.0.0-beta.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 131830
  • Score
    100M100P100Q221321F
  • License SEE LICENSE IN LICENSE.md

Package Exports

  • @shopify/polaris-icons

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 (@shopify/polaris-icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@shopify/polaris-icons

This is a public package. Although it is possible to use it directly, we recommend using it through Polaris React. All of the icons in this package are also available in Polaris through the Icon component.

Usage

Make changes to this package to add, remove, or rename public icons.

We recommend the following usage:

icons/index.js

export {
  exampleIcon
} from '@shopify/polaris-icons';

other_page.js

import {Icon} from '@shopify/polaris';
import {exampleIcon} from 'icons/index.js';

<Icon source={exampleIcon} />