Site Building

8.1. Concept: Blocks for Drupal 8, 9, 10, and 11

What is a block?

Blocks are individual pieces of your site’s web page layout. They are placed inside the regions (see Section 2.1, “Concept: Regions in a Theme”) of your theme, and can be created, removed, and rearranged in the Block layout (admin/structure/block) administration page. Examples of blocks include the Who’s online listing, the main navigation menu, and the breadcrumb trail. The main page content is also a block.

Some modules make new blocks available for placement on your site. For example, when the core Search module is installed and configured, it provides a block that contains a search form. You may also create and place your own custom blocks.

Each block has its own configuration settings, which allow you to select which pages of your site will display the block. It is even possible to place multiple copies of a block, each with its own separate configuration and visibility rules.

Drupal User Guide