Common editor icons from quill editor


Keywords
icons, quill, editor, editor-icons, quill-editor, react
License
BSD-3-Clause
Install
npm install quill-icons@0.1.0

Documentation

quill-icons NPM version Build Status Dependency Status Greenkeeper badge

Editor icons extract from quill editor, with React component wrapper, support 65+ icons!

Installation

$ npm install --save quill-icons

Usage

var quillIcons = require('quill-icons');

// icons options see ./src/icons
// USAGE: 

<quillIcons.AlignCenter/>  // React element

Icons support: https://canner.github.io/quill-icons/

Props

You could customized stroke, fill, etc... class names, just pass as props.

export default {
  strokeClassName: 'ql-stroke',
  fillClassName: 'ql-fill',
  evenClassName: 'ql-even',
  colorLabelClassName: 'ql-color-label',
  transparentClassName: 'ql-transparent',
  strokeMitterClassName: 'ql-stroke-mitter',
  thinClassName: 'ql-thin',
  width: '18px',
  height: '18px'
};

Start example server

npm start

Related projects

License

BSD-3-Clause © Canner

Big thanks to Quilljs

Icons license see Quill License