# ai-builder/2.2.3/assets/JSON-Blocks/files.js

AI Builder – Generate pages, blocks, images &amp; translate with AI, version 2.2.3. 57 lines.

- Page: https://pluginprobe.com/plugins/ai-builder/2.2.3/code/assets/JSON-Blocks/files.js
- Raw: https://pluginprobe.com/plugins/ai-builder/2.2.3/raw/assets/JSON-Blocks/files.js
- Modified: 2025-08-23T08:19:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/ai-builder/2.2.3/code/assets/JSON-Blocks/files.js#L10-L20`.

```javascript
const filesBlocks = [
  {
    id: "files-01",
    jsonBlocks: {
      blockName: "core/group",
      attrs: {
        align: "center",
        className: "files-container",
        style: {
          color: {
            background: "#ffffff",
          },
        },
      },
      innerBlocks: [
        {
          blockName: "core/heading",
          attrs: {
            content: "Download Our Files",
            level: 2,
            className: "files-title",
            textAlign: "center",
          },
        },
        {
          blockName: "core/paragraph",
          attrs: {
            content: "Get access to our resources and documents",
            className: "files-description ai-text-block",
            align: "center",
          },
        },
        {
          blockName: "core/file",
          attrs: {
            className: "files-upload",
            downloadButtonText: "Download Now",
            showDownloadButton: true,
            displayPreview: true,
            displayIcon: true,
          },
        },
        {
          blockName: "core/paragraph",
          attrs: {
            content: "Click the button above to download the file",
            className: "files-info ai-text-block",
            align: "center",
          },
        },
      ],
    },
  },
];

export default filesBlocks;

```
