Blocks

As content blocks are nestable they are perfect to manage the content of flexible layouts.

What are content blocks?

You may already create components like teasers, grids or feature sections. Content blocks allows the developer to reuse that components and fill them with data.

Here an example of a grid content block with two nested column content blocks which have other blocks inside. The possibilities are endless and the developer has the power to restrict the flexibility for editors as they want.

{
  "component": "grid",
  "columns": [{
      "component": "column",
      "width": "1-4",
      "content": [{
        "component": "markdown",
        "text": "Nest components using an intuitive editor"
      }]
    },
    {
      "component": "column",
      "width": "1-2",
      "content": [{
        "component": "image",
        "src": "//a.storyblok.com/f/..."
      }]
    }
  ]
}