info_card
Icon, title, body and one optional action.
The workhorse. info_card is one fact with a name on it: a policy, a status, a piece of guidance, optionally with the single thing to do about it.
Reach for it when the answer is one idea rather than a list of them, and when that idea deserves an enclosure rather than sitting in prose.
Drawn live in your browser with the SDK’s own sizes and colours, not a screenshot.
Rendered natively by the Flutter SDK and the Web SDK, both since 0.1.0.
When not to use it
Do not stack three of them. Three info cards in a row is an item_list that has been taken apart.
Do not use it for a transient notice about state ("promo applied", "stock is low"), which is status_banner: the banner interrupts, the card records. A card can carry up to three buttons in actions; when it has any, cta is not drawn. Buttons about the answer as a whole, rather than about one card, are an actions block.
People and documents
avatar_url draws a person (a courier, a doctor) round, in place of the icon. file_type (pdf, csv, image, doc) draws a document badge in its place. meta is one quiet line under the title: "PDF · 120 KB · September 2026", "White Egea · 34 ABC 123". Since Flutter 0.40.0 and Web 0.17.0.
Props
Every block also carries type and a required fallback_text of 1 to 300 characters.
| Prop | Type | Required | Constraints |
|---|---|---|---|
icon | string | No | Up to 40 characters. One of a closed set of 32 names, listed below. An unknown name draws no glyph. |
title | string | Yes | 1 to 120 characters. |
body | string | No | Up to 600 characters. |
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. |
avatar_url | string | No | None |
image_url | string | No | None |
meta | string | No | Up to 80 characters. |
file_type | pdf | csv | image | doc | No | None |
actions | array | No | 1 to 3 entries. |
actions[].label | string | Yes | 1 to 40 characters. |
actions[].icon | string | No | Up to 40 characters. |
actions[].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_02",
"type": "info_card",
"fallback_text": "Free returns within 30 days.",
"props": {
"icon": "truck",
"title": "Free returns within 30 days",
"body": "Unworn shoes in the original box can go back at any pickup point. Refunds land 3 to 5 days after the parcel is scanned.",
"cta": {
"label": "Start a return",
"action": {
"kind": "reply",
"text": "Start a return for order 1042"
}
}
}
}Interaction
The CTA, or each of actions, fires its action, which can be any kind the build declares (reply, open_url, navigate, call, copy, add_to_calendar); see Actions. The card itself is not tappable, so a card without a cta announces nothing to a screen reader that it cannot do.
States
| State | What the SDK draws |
|---|---|
| Loading | A plate with a glyph placeholder, a title bar and two body lines, in the card's own proportions. |
| No icon | The title moves to the left edge. Nothing is reserved for a glyph that is not coming. |
| Unknown icon | The glyph is omitted and the card renders normally. It never falls back to a generic square. |
Accessibility
fallback_text should be the title, or the title and the first clause of the body. The icon is decorative and is not announced; the CTA announces its own label.
Icon names
icon accepts these and nothing else. The set is closed on purpose: an open one means the model guesses a name and the card silently loses its glyph.
info · check · warning · error · order · package · truck · calendar · clock · card
wallet · tag · gift · star · heart · user · settings · search · location · phone
mail · lock · refresh · download · link · bag · ticket · chart · document · person
map_pin · search_off