All pages
Start: OverviewStart: QuickstartStart: Getting startedStart: Test installsConcepts: ManifestConcepts: AuthenticationConcepts: VersioningCapabilities: Home blocksCapabilities: Chat toolsCapabilities: Channel connectorsAI agents: MCP serverReference: REST APIReference: Block playgroundReference: WebhooksReference: Rate limitsPolicies: Billing and payoutsPolicies: Listing requirements
Block playground
Paste what your content_url answers and see it on a Home.
Document
No problems.
13
items drawn
What craving keeps after reading it: unknown items left out, long strings cut, defaults
filled in.
{
"format": "1",
"items": [
{
"type": "text",
"text": "Spring pasta workshops",
"size": "lg",
"tone": "default"
},
{
"type": "text",
"text": "Six evenings, one long table.",
"size": "md",
"tone": "muted"
},
{
"type": "countdown",
"until": "2031-05-02T19:00:00+02:00",
"label": "First class"
},
{
"type": "row",
"title": "Ghent, Market Hall",
"subtitle": "Fresh tagliatelle",
"badge": "New",
"date": "2031-05-02T19:00:00",
"action": {
"type": "open_url",
"url": "https://tickets.example.com/ghent",
"label": "Seats"
}
},
{
"type": "cards",
"layout": "grid",
"cards": [
{
"title": "Gift card",
"price": "$40",
"image": "https://craving.com/OpenGraph-default.png",
"action": {
"type": "open_url",
"url": "https://shop.example.com/gift"
}
},
{
"title": "Ten percent off the knife set",
"code": "PASTA10"
}
]
},
{
"type": "divider"
},
{
"type": "stats",
"stats": [
{
"label": "Classes",
"value": "6"
},
{
"label": "Seats each",
"value": "12"
}
]
},
{
"type": "table",
"columns": [
"City",
"Date"
],
"rows": [
[
"Ghent",
"May 2"
],
[
"Lyon",
"May 9"
]
]
},
{
"type": "accordion",
"entries": [
{
"title": "Do I bring anything?",
"body": "Just an apron."
}
]
},
{
"type": "image",
"src": "https://craving.com/OpenGraph-default.png",
"alt": "craving",
"ratio": "16:9"
},
{
"type": "choice",
"id": "next_dish",
"question": "Which dish next?",
"options": [
{
"id": "ravioli",
"label": "Ravioli"
},
{
"id": "gnocchi",
"label": "Gnocchi"
}
],
"show_results": "after_vote"
},
{
"type": "button",
"label": "Notify me",
"action": {
"type": "subscribe"
},
"style": "primary"
},
{
"type": "button",
"label": "Copy the code",
"action": {
"type": "copy",
"text": "PASTA10"
},
"style": "secondary"
}
]
}