---
title: "Definition"
manual: "Content Blocks"
version: "1.6"
permalink: "https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition@1.6"
source: "Definition/Index.rst"
rendered: "2026-09-22T14:39:08+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@1.6))
        -   `icon.svg`
    -   `language`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-language@1.6))
        -   `labels.xlf`
    -   `templates`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-source@1.6))
        -   `partials`
            -   `MyPartial.html`
        -   `backend-preview.html`
        -   `frontend.html`
    -   `config.yaml`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:cb-definition-editor-interface@1.6))
    -   `setup.typoscript`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@1.6))
    -   `page.tsconfig`([details](https://docs.typo3.org/permalink/friendsoftypo3/content-blocks:api-site-sets@1.6))

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