T
Tetra
← All blocks

Icon list

A short checklist: one line per item with an icon.

Fetch this block

curl https://tetrasaas.com/api/block-library/blocks/tetra.icon_list?version=1.0.0

The response carries the manifest and its SHA-256 checksum; verify the checksum before using it.

Manifest
{
  "id": "tetra.icon_list",
  "tags": [
    "checklist",
    "bullets"
  ],
  "type": "icon_list",
  "label": "Icon list",
  "author": {
    "url": "https://tetrasaas.com",
    "name": "Tetra"
  },
  "license": "MIT",
  "version": "1.0.0",
  "category": "features",
  "renderer": {
    "kind": "builtin",
    "view": "icon_list"
  },
  "dataSchema": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "required": [
      "items"
    ],
    "properties": {
      "body": {
        "type": "string",
        "maxLength": 500
      },
      "items": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "text"
          ],
          "properties": {
            "icon": {
              "type": "string",
              "maxLength": 80
            },
            "text": {
              "type": "string",
              "maxLength": 500,
              "minLength": 1
            }
          }
        },
        "maxItems": 12,
        "minItems": 1
      },
      "title": {
        "type": "string",
        "maxLength": 180
      },
      "format": {
        "type": "object",
        "description": "Block formatting: width, align, spacing, background, text colour"
      },
      "preset": {
        "type": "string",
        "maxLength": 48,
        "description": "Preset key; see `presets`"
      },
      "eyebrow": {
        "type": "string",
        "maxLength": 120,
        "description": "Small label above the title"
      },
      "richFields": {
        "type": "object",
        "description": "Rich-text bindings per field path"
      },
      "fieldFormats": {
        "type": "object",
        "description": "Per-field typography overrides"
      },
      "presentation": {
        "type": "object",
        "description": "Layout geometry: { version: 1, layout, mobile, itemColumns, itemBorder, tone, ... }"
      },
      "visualRecipe": {
        "type": "string",
        "maxLength": 48,
        "description": "Visual style key; see `visualRecipes`"
      }
    }
  },
  "sampleData": {
    "items": [
      {
        "text": "8 live sessies"
      },
      {
        "text": "Toegang tot de community"
      }
    ],
    "title": "Dit zit erin"
  },
  "defaultData": {
    "items": [
      {
        "text": "Everything you need"
      }
    ],
    "title": "Included"
  },
  "description": "A short checklist: one line per item with an icon.",
  "schemaVersion": 1
}