# Use Blocks for Repeatable Content

Use section blocks instead of numbered settings for repeatable items.

```json
{% comment %} BAD: hardcoded number of items {% endcomment %}
{% schema %}
{
  "settings": [
    { "type": "text", "id": "slide_1_title" },
    { "type": "image_picker", "id": "slide_1_image" },
    { "type": "text", "id": "slide_2_title" },
    { "type": "image_picker", "id": "slide_2_image" }
  ]
}
{% endschema %}

{% comment %} GOOD: dynamic, reorderable blocks {% endcomment %}
{% schema %}
{
  "blocks": [
    {
      "type": "slide",
      "name": "Slide",
      "settings": [
        { "type": "text", "id": "title" },
        { "type": "image_picker", "id": "image" }
      ]
    }
  ]
}
{% endschema %}
```

Blocks are reorderable, addable, and removable by editors.
