Where can I find the Gutenberg block icons?

Is there any documentation showing the names of the Gutenberg block icons within the WordPress docs?

Gutenberg block icons

To give you some context, I’m using ACF blocks for Gutenberg, and need to find a reference for 'icon'.

add_action('acf/init', 'my_acf_init');
function my_acf_init() {

    // check function exists
    if( function_exists('acf_register_block') ) {

        // register a testimonial block
        acf_register_block(array(
            'name'              => 'testimonial',
            'title'             => __('Testimonial'),
            'description'       => __('A custom testimonial block.'),
            'render_callback'   => 'my_acf_block_render_callback',
            'category'          => 'formatting',
            'icon'              => 'admin-comments',
            'keywords'          => array( 'testimonial', 'quote' ),
        ));
    }
}

5

Gutenberg is making use of dashicons.
You can find your example icon here, and a cheat sheet of dashicons here.

Leave a Comment