New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@wordpress/icons

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/icons

WordPress Icons package, based on dashicon.

4.0.3
patch
wp-5.8
Version published
Weekly downloads
100K
6.39%
Maintainers
21
Weekly downloads
 
Created

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 IE browsers then using core-js will add polyfills for these methods.

Usage

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

<Icon icon={ check } />;

Props

NameTypeDefaultDescription
sizeinteger24Size of icon in pixels.



Code is Poetry.

FAQs

Package last updated on 01 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts