Skip to content

godaddy-wordpress/coblocks-icons

Repository files navigation

CoBlocks Icons

Repository of icons used inside of CoBlocks, ready to use either as a React Component or plain SVG file.

See the complete list.

Install

npm install @godaddy-wordpress/coblocks-icons

Usage

Standalone

import { SettingsIcon } from '@godaddy-wordpress/coblocks-icons

return (
	<div>{ SettingsIcon }</div>
)

Using WordPress Icon for width/height control

import { Icon } from '@wordpress/icons';
import { SettingsIcon } from '@godaddy-wordpress/coblocks-icons';

return (
	<Icon icon={ SettingsIcon } size={ 32 } />
)

How to deploy

npm version minor
git push
git push --tags
npm publish

About

Shared Component that includes all icons used by the CoBlocks plugin.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published