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.
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.
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
On the commandline:
sudo apt-get install fontforge ttfautohint
npm install
On the commandline:
npm install
Then install ttfautohint
(optional).
Then install fontforge
.
- Download and install fontforge.
- Add
C:\Program Files (x86)\FontForgeBuilds\bin
to yourPATH
environment variable.
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.