gallery() displays a responsive tile grid for generated images, screenshots, videos, or clickable artifacts.
gallery()
<ComponentPreview title="Artifact Gallery">
{
"type": "gallery",
"items": [
{"title": "Chat + Canvas", "caption": "Default split workspace layout", "tag": "Layout"},
{"title": "Mission Control", "caption": "Multi-agent run monitoring", "tag": "Layout"},
{"title": "A2UI Surfaces", "caption": "Agent-driven interactive cards", "tag": "Protocol"}
]
}
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Parameter | Type | Description |
|---|---|---|
| items | list[dict] | Gallery tiles supporting title, caption, subtitle, description, tag, src/image, video, href, and page. |
items
list[dict]
title
caption
subtitle
description
tag
src
image
video
href
page