# block

The block being rendered.

<!-- Generated by `bin/console app:dev:reference` from the platform code and docs/dev/_data/. Do not edit by hand. -->

The block being rendered. Available inside every block file.

Available on: every block file.

## Properties

| Property | Type | Description |
| --- | --- | --- |
| `block.id` | string | The block key. |
| `block.type` | string | The block type (the file name). |
| `block.settings` | hash | Values of the block settings, resolved. |
| `block.blocks` | list of [`block`](block.md) | Nested blocks. |
| `block.attributes` | html | Attributes the theme editor needs to select the block. Print them on the root element. |

