Where it sits
| Body | In the body | Inside its texts |
|---|---|---|
| The store’s home | Yes | Yes |
| A custom page | Yes | Yes |
| A product’s page | Yes | Yes |
| An event’s page | Yes | Yes |
| A portfolio’s page | Yes | Yes |
| A lesson | Yes | Yes |
| An article | Yes | Yes |
A text holds it as a <block type="logo-cloud" props="…"></block> element: its props are those below but type, which the element’s own type names.
See Bodies for how a body holds its blocks.
Props
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
Yes | The block’s id, unique within its body. |
type |
"logo-cloud" |
Yes | The block’s type. |
logos |
array of object |
Yes | Each logo: its name, a store file (fileId) or external URL (src), an optional link (href) and scale (0.15 to 1). |
monochrome |
boolean |
No | Whether the logos show in one color. |
hidden |
boolean |
No | Whether the block is hidden: it, and every block it holds, doesn’t show. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The block's id, unique within its body."
},
"type": {
"type": "string",
"const": "logo-cloud",
"description": "The block's type."
},
"logos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"src": {
"default": "",
"type": "string"
},
"fileId": {
"type": "string"
},
"href": {
"type": "string"
},
"scale": {
"type": "number",
"minimum": 0.15,
"maximum": 1
}
},
"required": [
"name"
],
"additionalProperties": false
},
"description": "Each logo: its `name`, a store file (`fileId`) or external URL (`src`), an optional link (`href`) and `scale` (0.15 to 1)."
},
"monochrome": {
"type": "boolean",
"description": "Whether the logos show in one color."
},
"hidden": {
"type": "boolean",
"description": "Whether the block is hidden: it, and every block it holds, doesn't show."
}
},
"required": [
"id",
"type",
"logos"
],
"description": "A row of logos.",
"additionalProperties": false
}