Have ideas to improve npm?Join in the discussion! »

@wordpress/icons
TypeScript icon, indicating that this package has built-in type declarations

2.9.1 • Public • Published

Icons

WordPress Icons Library.

Installation

Install the module:

npm install @wordpress/icons --save

This package assumes that your code will run in an ES2015+ environment. If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using core-js or @babel/polyfill will add support for these methods. Learn more about it in Babel docs.

Usage

import { Icon, check } from '@wordpress/icons';

<Icon icon={ check } />

Props

Name Type Default Description
size integer 24 Size of icon in pixels.



Code is Poetry.

Install

npm i @wordpress/icons

DownloadsWeekly Downloads

19,835

Version

2.9.1

License

GPL-2.0-or-later

Unpacked Size

1.03 MB

Total Files

1423

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar