---
title: "Definition"
manual: "Content Blocks"
version: "main"
permalink: "https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition@main"
source: "Definition/Index.rst"
rendered: "2026-09-21T15:50:14+00:00"
---

# Definition {#cb-definition}

The minimal viable definition consists of a folder with a YAML file named
**config.yaml** inside. All other resources are split into three folders
named **assets**, **templates** and **language**.

-   `my-content-block`
    -   `assets`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-assets@main))
        -   `icon.svg`
    -   `language`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-language@main))
        -   `labels.xlf`
    -   `templates`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-source@main))
        -   `partials`
            -   `MyPartial.html`
        -   `backend-preview.fluid.html`
        -   `frontend.fluid.html`
    -   `config.yaml`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-editor-interface@main))
    -   `setup.typoscript`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@main))
    -   `page.tsconfig`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@main))

-   [config.yaml](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:config-yaml@main)
-   [assets](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:assets@main)
-   [templates](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:templates@main)
-   [language](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:language@main)
