steps
Instructions read in order: numbered steps on a rail, with nothing to tick.
How to do something, in order. steps numbers each step on a rail down the page: how to return an order, how to set a device up, a care routine. Nothing is ticked; the reader follows along.
Drawn live in your browser with the SDK’s own sizes and colours, not a screenshot.
Rendered natively by the Flutter SDK since 0.101.0 and the web SDK since 0.76.0. A build that does not declare it is never offered it.
groups are headings over runs of steps ("Morning", "Evening"); a step names its own by group_index (0-based), and the numbers run through. A step that uses one thing can carry its image_url, a caption naming it and an action that opens it.
When not to use it
Steps the user ticks off are a checklist. Where one order or claim stands is an order_tracker. Things planned at a time are a timeline.
Props
Every block also carries type and a required fallback_text of 1 to 300 characters.
| Prop | Type | Required | Constraints |
|---|---|---|---|
title | string | No | Up to 80 characters. |
groups | array | No | Up to 4 entries. |
groups[].label | string | Yes | 1 to 40 characters. |
items | array | Yes | 2 to 10 entries. |
items[].group_index | integer | No | 0 to 3. |
items[].title | string | Yes | 1 to 80 characters. |
items[].body | string | No | Up to 300 characters. |
items[].image_url | string | No | None |
items[].caption | string | No | Up to 60 characters. |
items[].action | action | No | { kind: "reply", text } or { kind: "open_url", url } or { kind: "navigate", route } or { kind: "call", phone } or { kind: "copy", text } or { kind: "add_to_calendar", title, starts_at }. See Actions. |
cta | object | No | None |
cta.label | string | Yes | 1 to 60 characters. |
cta.action | action | Yes | { kind: "reply", text } or { kind: "open_url", url } or { kind: "navigate", route } or { kind: "call", phone } or { kind: "copy", text } or { kind: "add_to_calendar", title, starts_at }. See Actions. |
On the wire
{
"id": "blk_91",
"type": "steps",
"fallback_text": "Returning a pair: start the return in your orders, print the label, hand the parcel in within 14 days.",
"props": {
"title": "Returning a pair",
"items": [
{ "title": "Start the return in your orders", "body": "Open the order, choose the pair and say why." },
{ "title": "Print the label, or show the QR code", "body": "We email both." },
{ "title": "Hand the parcel in within 14 days", "body": "Any store or a parcel locker." }
],
"cta": { "label": "Start a return", "action": { "kind": "reply", "text": "Start a return" } }
}
}Interaction
A step with an action answers a tap anywhere on its row; a step without one is read, not pressed. cta is one full-width button under the last step. A picture that does not load leaves no empty box behind.