Skip to content
AI recipe

Add an expand all and collapse all button above the accordion.

How to use this recipe

  1. Switch the block onTurn it on under Nexter › Blocks so your assistant can create it.
  2. Copy the recipeUse the button above and paste it into Claude, Cursor or any MCP assistant.
  3. Review and adjustYour assistant builds the block in Gutenberg. Change text, colours or spacing as you like.