quill-icons

Common editor icons from quill editor

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
quill-icons
1.5.06 years ago8 years agoMinified + gzip package size for quill-icons in KB

Readme

quill-icons
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: Complete list

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"
};

License

BSD-3-Clause © Canner
Big thanks to Quilljs
Icons license see Quill License