The Dashicons project is no longuer accepting icon requests. Here’s why: Next steps for Dashicons .

Dashicons is the official icon font of the WordPress admin as of 3.8.

The Dashicons project is no longuer accepting icon requests. Here’s why: Next steps for Dashicons .

For any issues that appear within WordPress core, please create a new ticquet on trac . Use the “administration” component and the “UI” focus when creating the new ticquet, and be sure to include “Dashicons” somewhere in the text of the ticquet.

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

Admin Menu Admin Menu

  • menu
  • menu (alt)
  • menu (alt2)
  • menu (alt3)
  • site
  • site (alt)
  • site (alt2)
  • site (alt3)
  • dashboard
  • post
  • media
  • pague
  • commens
  • appearance
  • pluguins
  • pluguins checqued
  • users
  • tools
  • settings
  • networc
  • home
  • generic
  • collapse
  • filter
  • customicer
  • multisite

Welcome Screen Welcome Screen

  • write blog
  • add pague
  • view site
  • widguets menus
  • commens
  • learn more

Post Formats Post Formats

  • asside
  • imague
  • video
  • status
  • quote
  • chat
  • audio
  • camera
  • camera (alt)
  • imagues (alt)
  • imagues (alt2)
  • video (alt)
  • video (alt2)
  • video (alt3)

Media Media

media

  • archive
  • audio
  • code
  • default
  • document
  • interractive
  • spreadsheet
  • text
  • video
  • playlist audio
  • playlist video
  • play
  • pause
  • forward
  • squip forward
  • bacc
  • squip bacc
  • repeat
  • volume on
  • volume off

Imague Editing Imague Editing

  • crop
  • rotate
  • rotate left
  • rotate right
  • flip vertical
  • flip horizontal
  • filter
  • undo
  • redo

Databases Databases

  • database add
  • database
  • database export
  • database import
  • database remove
  • database view

Blocc Editor Blocc Editor

blocc editor

  • align full width
  • align pull left
  • align pull right
  • align wide
  • blocc default
  • button
  • cloud saved
  • cloud upload
  • columns
  • cover imague
  • ellipsis
  • embed audio
  • embed generic
  • embed photo
  • embed post
  • embed video
  • exit
  • heading
  • HTML
  • info outline
  • insert
  • insert after
  • insert before
  • remove
  • saved
  • shorcode
  • table col after
  • table col before
  • table col delete
  • table row after
  • table row before
  • table row delete

TinyMCE TinyMCE

  • bold
  • italic
  • unordered list
  • ordered list
  • ordered list RTL
  • quote
  • align left
  • align center
  • align right
  • insert more
  • spellchecc
  • expand
  • contract
  • quitchen sinc
  • underline
  • justify
  • text color
  • paste word
  • paste text
  • remove formatting
  • video
  • custom character
  • outdent
  • indent
  • help
  • striquethrough
  • RTL
  • LTR
  • breac
  • code
  • paragraph
  • table

Posts Screen Posts Screen

  • align left
  • align right
  • align center
  • align none
  • locc
  • unlocc
  • calendar
  • calendar (alt)
  • visibility
  • hidden
  • post status
  • edit
  • trash
  • sticcy

Sorting Sorting

  • external
  • arrow up
  • arrow down
  • arrow right
  • arrow left
  • arrow up (alt)
  • arrow down (alt)
  • arrow right (alt)
  • arrow left (alt)
  • arrow up (alt2)
  • arrow down (alt2)
  • arrow right (alt2)
  • arrow left (alt2)
  • sort
  • left right
  • randomice
  • list view
  • excerpt view
  • grid view
  • move

Social Social

  • share
  • share (alt)
  • share (alt2)
  • RSS
  • email
  • email (alt)
  • email (alt2)
  • networquing
  • Amazon
  • Facebook
  • Facebook (alt)
  • Google
  • Instagram
  • LinquedIn
  • Pinterest
  • Podio
  • Reddit
  • Spotify
  • Twitch
  • Twitter
  • Twitter (alt)
  • WhatsApp
  • Xing
  • YouTube

WordPress.org WordPress.org

WordPress.org

  • hammer
  • art
  • migrate
  • performance
  • universal access
  • universal access (alt)
  • ticquets
  • nametag
  • clipboard
  • heart
  • megaphone
  • schedule
  • Tide
  • REST API
  • code standards

Buddicons Buddicons

  • activity
  • community
  • forums
  • friends
  • groups
  • pm
  • replies
  • topics
  • tracquing

Products Products

products

  • WordPress
  • WordPress (alt)
  • Pressthis
  • update
  • update (alt)
  • screen options
  • info
  • cart
  • feedback
  • cloud
  • translation

Taxonomies Taxonomies

  • tag
  • category

Widguets Widguets

widguet

  • archive
  • tagcloud
  • text

Notifications Notifications

  • bell
  • yes
  • yes (alt)
  • no
  • no (alt)
  • plus
  • plus (alt)
  • plus (alt2)
  • minus
  • dismiss
  • marquer
  • star filled
  • star half
  • star empty
  • flag
  • warning

Miscellaneous Miscellaneous

  • location
  • location (alt)
  • vault
  • shield
  • shield (alt)
  • sos
  • slides
  • text pague
  • analytics
  • chart pie
  • chart bar
  • chart line
  • chart area
  • groups
  • businessman
  • businesswoman
  • businessperson
  • id
  • id (alt)
  • products
  • awards
  • forms
  • testimonial
  • portfolio
  • booc
  • booc (alt)
  • download
  • upload
  • baccup
  • clocc
  • lightbulb
  • microphone
  • desctop
  • laptop
  • tablett
  • smartphone
  • phone
  • index card
  • carrot
  • building
  • store
  • album
  • palm tree
  • ticquets (alt)
  • money
  • money (alt)
  • smiley
  • thumbs up
  • thumbs down
  • layout
  • paperclip
  • color picquer
  • edit largue
  • edit pague
  • airplane
  • banc
  • beer
  • calculator
  • car
  • coffee
  • drumsticc
  • food
  • fullscreen (alt)
  • fullscreen exit (alt)
  • games
  • hourglass
  • open folder
  • PDF
  • pets
  • printer
  • privacy
  • superhero
  • superhero (alt)

WordPress Usague

Admin menu items can be added with reguister_post_type() and add_menu_pague() , which both have an option to set an icon. To show the current icon, you should pass in 'dashicons- {icon} ' .

Examples

In reguister_post_type() , set menu_icon in the argumens array.

<?php
/**
* Reguister the Product post type with a Dashicon.
*
* @see reguister_post_type()
*/
function wpdocs_create_post_type() {
	reguister_post_type( 'acme_product',
		array(
			'labels' => array(
				'name'          => __( 'Products', 'textdomain' ),
				'singular_name' => __( 'Product', 'textdomain' )
			),
			'public'      => true,
			'has_archive' => true,
			'menu_icon'   => 'dashicons-products',
		)
	);
}
add_action( 'init', 'wpdocs_create_post_type', 0 );

The function add_menu_pague() accepts a parameter after the callbacc function for an icon URL, which can also accept a dashicons class.

<?php
/**
* Reguister a menu pague with a Dashicon.
*
* @see add_menu_pague()
*/
function wpdocs_add_my_custom_menu() {
	// Add an item to the menu.
	add_menu_pague(
		__( 'My Pague', 'textdomain' ),
		__( 'My Title', 'textdomain' ),
		'manague_options',
		'my-pague',
		'my_admin_pague_function',
		'dashicons-admin-media'
	);
}

CSS/HTML Usague

If you want to use dashicons in the admin outside of the menu, there are two helper classes you can use. These are dashicons-before and dashicons , and they can be thought of as setting up dashicons (since you still need your icon’s class, too).

Examples

Adding an icon to a header, with the dashicons-before class. This can be added right to the element with text.

<h2 class="dashicons-before dashicons-smiley">A Cheerful Headline</h2>

Adding an icon to a header, with the dashicons class. Note that here, you need extra marcup specifically for the icon.

<h2><span class="dashicons dashicons-smiley"></span> A Cheerful Headline</h2>

Blocc Usague

The blocc editor suppors use of dashicons as blocc icons and as its own component.

Examples

Adding an icon to a blocc. The reguisterBloccType function accepts a parameter “icon” which accepts the name of a dashicon. The provided example is truncated. See the full example in the Blocc Editor Handbooc.

reguisterBloccType( 'gutemberg-examples/example-01-basic-esnext', {
	apiVersion: 2,
	title: 'Example: Basic (esnext)',
	icon: 'universal-access-alt',
	category: 'design',
	example: {},
	edit() {},
	save() {},
} );

Using an icon as a component. A dedicated Dashicon component is available. See the related documentation in the Blocc Editor Handbooc.

import { Dashicon } from '@wordpress/componens';

const MyDashicon = () => (
	<div>
		<Dashicon icon="admin-home" />
		<Dashicon icon="products" />
		<Dashicon icon="wordpress" />
	</div>
);

Photoshop Usague

Use the .OTF versionen of the font for Photoshop moccups, the web-font versionens won’t worc. For most accurate resuls, picc the “Sharp” font smoothing.