← All blocks
Steps
A numbered sequence of steps (how it works).
Presets
- Numbered columnsnumberedNumbered cards side by side
- VerticalverticalOne step per row
Visual styles
- SoftsoftTinted cards without borders
- OutlinedoutlinedThin border, transparent background
- ElevatedelevatedWhite cards with a soft shadow
Fetch this block
curl https://tetrasaas.com/api/block-library/blocks/tetra.steps?version=1.0.0The response carries the manifest and its SHA-256 checksum; verify the checksum before using it.
Manifest
{
"id": "tetra.steps",
"tags": [
"process",
"how-it-works",
"numbered"
],
"type": "steps",
"label": "Steps",
"author": {
"url": "https://tetrasaas.com",
"name": "Tetra"
},
"license": "MIT",
"presets": [
{
"key": "numbered",
"data": {
"presentation": {
"version": 1,
"numbered": true,
"itemColumns": 3
}
},
"label": "Numbered columns",
"description": "Numbered cards side by side"
},
{
"key": "vertical",
"data": {
"presentation": {
"version": 1,
"numbered": true,
"itemColumns": 1
}
},
"label": "Vertical",
"description": "One step per row"
}
],
"version": "1.0.0",
"category": "features",
"renderer": {
"kind": "builtin",
"view": "steps"
},
"dataSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"items"
],
"properties": {
"body": {
"type": "string",
"maxLength": 900
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"title"
],
"properties": {
"body": {
"type": "string",
"maxLength": 700
},
"icon": {
"type": "string",
"maxLength": 80,
"description": "Icon name"
},
"link": {
"type": "object",
"required": [
"label"
],
"properties": {
"href": {
"type": "string",
"maxLength": 2048,
"description": "Legacy alternative to type+target"
},
"type": {
"enum": [
"page",
"product",
"url",
"mail"
],
"description": "page | product | url | mail; with `target`"
},
"label": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"style": {
"enum": [
"primary",
"secondary",
"outline",
"ghost"
]
},
"newTab": {
"type": "boolean"
},
"target": {
"type": "string",
"maxLength": 2048,
"description": "What the action points at, per `type` (root-relative path, product slug, https URL or e-mail)"
}
},
"description": "Optional link on the card"
},
"title": {
"type": "string",
"maxLength": 140,
"minLength": 1
},
"imageAlt": {
"type": "string",
"maxLength": 180
},
"imageUrl": {
"type": "string",
"pattern": "^(https://[^\\s<>\"'()\\\\]+|/(?!/)[^\\s<>\"'()\\\\]*)$",
"maxLength": 2048,
"description": "https URL or root-relative path"
}
}
},
"maxItems": 10,
"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": [
{
"body": "Kies een cursus.",
"title": "Meld je aan"
},
{
"body": "Volg de live sessies.",
"title": "Bouw mee"
},
{
"body": "Zet je app online.",
"title": "Lanceer"
}
],
"title": "Zo werkt het"
},
"defaultData": {
"items": [
{
"body": "Create your account.",
"title": "Sign up"
}
],
"title": "How it works"
},
"description": "A numbered sequence of steps (how it works).",
"schemaVersion": 1,
"visualRecipes": [
{
"key": "soft",
"label": "Soft",
"description": "Tinted cards without borders"
},
{
"key": "outlined",
"label": "Outlined",
"description": "Thin border, transparent background"
},
{
"key": "elevated",
"label": "Elevated",
"description": "White cards with a soft shadow"
}
]
}