Block support: Anchor
The anchor block supports adds an additional input field for the anchor ID in the Advanced panel of the block settings sidebar. Use the anchor to link directly to the block.
Anchor is opt-in. To enable it in your custom block, set its value to true:
List all WordPress core blocks that supports anchor:
View blocks per attribute or block support: