Skip to content

Dashicons, the WordPress admin icon font. For the official resource, please see the WordPress Developer Hub.

Notifications You must be signed in to change notification settings

jwold/dashicons

 
 

Repository files navigation

Dashicons

Dashicons, the WordPress admin icon font. For the official documentation, please refer to the according WordPress Developer Resource.

For new icon requests, please create a new issue on this GitHub repository. If you'd like to work an an icon request, check out our WIP Dashicons style guide.

For any bugs that appear within WordPress core, please create a new ticket on WordPress Trac. Use the "Administration" component and the "ui" focus when creating the new ticket, and be sure to include "Dashicons" somewhere in the text of the ticket.

Dashicons is licensed under GPLv2, or any later version with font exception.

Building / Installing

To build Dashicons, make sure you have Node JS installed. The next steps are platform specific. Once all steps for your platform are complete, you can type npm run build on the commandline to generate the minified SVG files and sprite.

Mac

Start by installing Brew. You may need to use sudo for brew, depending on your setup.

Then on the commandline:

brew install ttfautohint fontforge --with-python
npm install

Linux

On the commandline:

sudo apt-get install fontforge ttfautohint
npm install

Windows

On the commandline:

npm install

Then install ttfautohint (optional).

Then install fontforge.

  • Download and install fontforge.
  • Add C:\Program Files (x86)\FontForgeBuilds\bin to your PATH environment variable.

Adding an icon

Once you're installed, to add an icon, save an SVG in the svg folder, then run the npm run build command on the commandline.

About

Dashicons, the WordPress admin icon font. For the official resource, please see the WordPress Developer Hub.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 42.1%
  • HTML 35.4%
  • CSS 22.5%