---
title: "Definition"
manual: "Content Blocks"
version: "2.4"
permalink: "https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition@2.4"
source: "Definition/Index.rst"
rendered: "2026-09-22T14:38:30+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@2.4))
        -   `icon.svg`
    -   `language`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-language@2.4))
        -   `labels.xlf`
    -   `templates`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-source@2.4))
        -   `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@2.4))
    -   `setup.typoscript`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@2.4))
    -   `page.tsconfig`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@2.4))

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