Skip to content

Instantly share code, notes, and snippets.

@slushman
Last active October 29, 2018 20:04
Show Gist options
  • Save slushman/eefd59d021f22c6fbd9a4a0925f453dd to your computer and use it in GitHub Desktop.
Save slushman/eefd59d021f22c6fbd9a4a0925f453dd to your computer and use it in GitHub Desktop.
Javascript array of Dashicons.
const dashIcons = [
{ value: 'menu', label: 'Menu' },
{ value: 'dashboard', label: 'Dashboard' },
{ value: 'admin-site', label: 'Admin Site' },
{ value: 'admin-media', label: 'Admin Media' },
{ value: 'admin-page', label: 'Admin Page' },
{ value: 'admin-comments', label: 'Admin Comments' },
{ value: 'admin-appearance', label: 'Admin Appearance' },
{ value: 'admin-plugins', label: 'Admin Plugins' },
{ value: 'admin-users', label: 'Admin Users' },
{ value: 'admin-tools', label: 'Admin Tools' },
{ value: 'admin-settings', label: 'Admin Settings' },
{ value: 'admin-network', label: 'Admin Network' },
{ value: 'admin-generic', label: 'Admin Generic' },
{ value: 'admin-home', label: 'Admin Home' },
{ value: 'admin-collapse', label: 'Admin Collapse' },
{ value: 'admin-links', label: 'Admin Links' },
{ value: 'admin-post', label: 'Admin Post' },
{ value: 'format-standard', label: 'Format Standard' },
{ value: 'format-image', label: 'Format Image' },
{ value: 'format-gallery', label: 'Format Gallery' },
{ value: 'format-audio', label: 'Format Audio' },
{ value: 'format-video', label: 'Format Video' },
{ value: 'format-links', label: 'Format Links' },
{ value: 'format-chat', label: 'Format Chat' },
{ value: 'format-status', label: 'Format Status' },
{ value: 'format-aside', label: 'Format Aside' },
{ value: 'format-quote', label: 'Format Quote' },
{ value: 'welcome-write-blog', label: 'Welcome Write Blog' },
{ value: 'welcome-edit-page', label: 'Welcome Edit Page' },
{ value: 'welcome-add-page', label: 'Welcome Add Page' },
{ value: 'welcome-view-site', label: 'Welcome View Site' },
{ value: 'welcome-widgets-menus', label: 'Welcome Widgets Menus' },
{ value: 'welcome-comments', label: 'Welcome Comments' },
{ value: 'welcome-learn-more', label: 'Welcome Learn More' },
{ value: 'image-crop', label: 'Image Crop' },
{ value: 'image-rotate-left', label: 'Image Rotate Left' },
{ value: 'image-rotate-right', label: 'Image Rotate Right' },
{ value: 'image-flip-vertical', label: 'Image Flip Vertical' },
{ value: 'image-flip-horizontal', label: 'Image Flip Horizontal' },
{ value: 'undo', label: 'Undo' },
{ value: 'redo', label: 'Redo' },
{ value: 'editor-bold', label: 'Editor Blod' },
{ value: 'editor-italic', label: 'Editor Italic' },
{ value: 'editor-ul', label: 'Editor UL' },
{ value: 'editor-ol', label: 'Editor OL' },
{ value: 'editor-quote', label: 'Editor Quote' },
{ value: 'editor-alignleft', label: 'Editor Align Left' },
{ value: 'editor-aligncenter', label: 'Editor Align Center' },
{ value: 'editor-alignright', label: 'Editor Align Right' },
{ value: 'editor-insertmore', label: 'Editor Insert More' },
{ value: 'editor-spellcheck', label: 'Editor Spellcheck' },
{ value: 'editor-distractionfree', label: 'Editor Distraction-Free' },
{ value: 'editor-expand', label: 'Editor Expand' },
{ value: 'editor-contract', label: 'Editor Contract' },
{ value: 'editor-kitchensink', label: 'Editor Kitchen Sink' },
{ value: 'editor-underline', label: 'Editor Underline' },
{ value: 'editor-justify', label: 'Editor Justify' },
{ value: 'editor-textcolor', label: 'Editor Text Color' },
{ value: 'editor-paste-word', label: 'Editor Paste Word' },
{ value: 'editor-paste-text', label: 'Editor Paste Text' },
{ value: 'editor-removeformatting', label: 'Editor Remove Formatting' },
{ value: 'editor-video', label: 'Editor Video' },
{ value: 'editor-customchar', label: 'Editor Custom Character' },
{ value: 'editor-outdent', label: 'Editor Outdent' },
{ value: 'editor-indent', label: 'Editor Indent' },
{ value: 'editor-help', label: 'Editor Help' },
{ value: 'editor-strikethrough', label: 'Editor Strikethrough' },
{ value: 'editor-unlink', label: 'Editor Unlink' },
{ value: 'editor-rtl', label: 'Editor RTL' },
{ value: 'editor-break', label: 'Editor Break' },
{ value: 'editor-code', label: 'Editor Code' },
{ value: 'editor-paragraph', label: 'Editor Paragraph' },
{ value: 'align-left', label: 'Align Left' },
{ value: 'align-right', label: 'Align Right' },
{ value: 'align-center', label: 'Align Center' },
{ value: 'align-none', label: 'Align None' },
{ value: 'lock', label: 'Lock' },
{ value: 'calendar', label: 'Calendar' },
{ value: 'visibility', label: 'Visibility' },
{ value: 'post-status', label: 'Post Status' },
{ value: 'edit', label: 'Edit' },
{ value: 'post-trash', label: 'Post Trash' },
{ value: 'trash', label: 'Trash' },
{ value: 'external', label: 'External' },
{ value: 'arrow-up', label: 'Arrow Up' },
{ value: 'arrow-down', label: 'Arrow Down' },
{ value: 'arrow-left', label: 'Arrow Left' },
{ value: 'arrow-right', label: 'Arrow Right' },
{ value: 'arrow-up-alt', label: 'Arrow Up Alt' },
{ value: 'arrow-down-alt', label: 'Arrow Down Alt' },
{ value: 'arrow-left-alt', label: 'Arrow Left Alt' },
{ value: 'arrow-right-alt', label: 'Arrow Right Alt' },
{ value: 'arrow-up-alt2', label: 'Arrow Up Alt 2' },
{ value: 'arrow-down-alt2', label: 'Arrow Down Alt 2' },
{ value: 'arrow-left-alt2', label: 'Arrow Left Alt 2' },
{ value: 'arrow-right-alt2', label: 'Arrow Right Alt 2' },
{ value: 'leftright', label: 'LeftRight' },
{ value: 'sort', label: 'Sort' },
{ value: 'randomize', label: 'Randomize' },
{ value: 'list-view', label: 'List View' },
{ value: 'excerpt-view', label: 'Excerpt View' },
{ value: 'hammer', label: 'Hammer' },
{ value: 'art', label: 'Art' },
{ value: 'migrate', label: 'Migrate' },
{ value: 'performance', label: 'Performance' },
{ value: 'universal-access', label: 'Universal Access' },
{ value: 'universal-access-alt', label: 'Universal Access Alt' },
{ value: 'tickets', label: 'Tickets' },
{ value: 'nametag', label: 'Nametag' },
{ value: 'clipboard', label: 'Clipboard' },
{ value: 'heart', label: 'Heart' },
{ value: 'megaphone', label: 'Megaphone' },
{ value: 'schedule', label: 'Schedule' },
{ value: 'wordpress', label: 'WordPress' },
{ value: 'wordpress-alt', label: 'WordPress Alt' },
{ value: 'pressthis,', label: 'PressThis' },
{ value: 'update,', label: 'Update' },
{ value: 'screenoptions', label: 'Screen Options' },
{ value: 'info', label: 'Info' },
{ value: 'cart', label: 'Cart' },
{ value: 'feedback', label: 'Feedback' },
{ value: 'cloud', label: 'Cloud' },
{ value: 'translation', label: 'Translation' },
{ value: 'tag', label: 'Tag' },
{ value: 'category', label: 'Category' },
{ value: 'archive', label: 'Archive' },
{ value: 'tagcloud', label: 'Tagcloud' },
{ value: 'text', label: 'Text' },
{ value: 'media-archive', label: 'Media Archive' },
{ value: 'media-audio', label: 'Media Audio' },
{ value: 'media-code', label: 'Media Code' },
{ value: 'media-default', label: 'Media Default' },
{ value: 'media-document', label: 'Media Document' },
{ value: 'media-interactive', label: 'Media Interactive' },
{ value: 'media-spreadsheet', label: 'Media Spreadsheet' },
{ value: 'media-text', label: 'Media Text' },
{ value: 'media-video', label: 'Media Video' },
{ value: 'playlist-audio', label: 'Playlist Audio' },
{ value: 'playlist-video', label: 'Playlist Video' },
{ value: 'yes', label: 'Yes' },
{ value: 'no', label: 'No' },
{ value: 'no-alt', label: 'No Alt' },
{ value: 'plus', label: 'Plus' },
{ value: 'plus-alt', label: 'Plus Alt' },
{ value: 'minus', label: 'Minus' },
{ value: 'dismiss', label: 'Dismiss' },
{ value: 'marker', label: 'Marker' },
{ value: 'star-filled', label: 'Star Filled' },
{ value: 'star-half', label: 'Star Half' },
{ value: 'star-empty', label: 'Star Empty' },
{ value: 'flag', label: 'Flag' },
{ value: 'share', label: 'Share' },
{ value: 'share1', label: 'Share 1' },
{ value: 'share-alt', label: 'Share Alt' },
{ value: 'share-alt2', label: 'Share Alt 2' },
{ value: 'twitter', label: 'Twitter' },
{ value: 'rss', label: 'RSS' },
{ value: 'email', label: 'Email' },
{ value: 'email-alt', label: 'Email Alt' },
{ value: 'facebook', label: 'Facebook' },
{ value: 'facebook-alt', label: 'Facebook Alt' },
{ value: 'networking', label: 'Networking' },
{ value: 'googleplus', label: 'Google+' },
{ value: 'location', label: 'Location' },
{ value: 'location-alt', label: 'Location Alt' },
{ value: 'camera', label: 'Camera' },
{ value: 'images-alt', label: 'Images Alt' },
{ value: 'images-alt2', label: 'Images Alt 2' },
{ value: 'video-alt', label: 'Video Alt' },
{ value: 'video-alt2', label: 'Video Alt 2' },
{ value: 'video-alt3', label: 'Video Alt 3' },
{ value: 'vault', label: 'Vault' },
{ value: 'shield', label: 'Shield' },
{ value: 'shield-alt', label: 'Shield Alt' },
{ value: 'sos', label: 'SOS' },
{ value: 'search', label: 'Search' },
{ value: 'slides', label: 'Slides' },
{ value: 'analytics', label: 'Analytics' },
{ value: 'chart-pie', label: 'Chart Pie' },
{ value: 'chart-bar', label: 'Chart Bar' },
{ value: 'chart-line', label: 'Chart Line' },
{ value: 'chart-area', label: 'Chart Area' },
{ value: 'groups', label: 'Groups' },
{ value: 'businessman', label: 'Businessman' },
{ value: 'id', label: 'ID' },
{ value: 'id-alt', label: 'ID Alt' },
{ value: 'products', label: 'Products' },
{ value: 'awards', label: 'Awards' },
{ value: 'forms', label: 'Forms' },
{ value: 'testimonial', label: 'Testimonial' },
{ value: 'portfolio', label: 'Portfolio' },
{ value: 'book', label: 'Book' },
{ value: 'book-alt', label: 'Book Alt' },
{ value: 'download', label: 'Download' },
{ value: 'upload', label: 'Upload' },
{ value: 'backup', label: 'Backup' },
{ value: 'clock', label: 'Clock' },
{ value: 'lightbulb', label: 'Lightbulb' },
{ value: 'microphone', label: 'Microphone' },
{ value: 'desktop', label: 'Desktop' },
{ value: 'tablet', label: 'Tablet' },
{ value: 'smartphone', label: 'Smartphone' },
{ value: 'smiley', label: 'Smiley' },
{ value: 'phone', label: 'Phone' },
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment