Layer lightweight contextual overlays with popover() (click to open), tooltip() (hover/focus hint), and toast() (transient notification). For persistent real-time notifications, see the Notification Center.
popover()
tooltip()
toast()
<ComponentPreview title="Popover & Tooltip (click or hover)">
{
"type": "columns",
"children": [
"type": "popover",
"trigger": {"type": "badge", "text": "Click for latency breakdown", "variant": "info"},
{"type": "key_value_list", "items": [{"label": "p50", "value": "82 ms"}, {"label": "p99", "value": "210 ms"}]}
]
},
"type": "tooltip_wrap",
"child": {"type": "badge", "text": "Hover for model info", "variant": "default"},
"content": "Served via OpenAI Responses API with automatic fallback."
}
</ComponentPreview>
<Tabs>
<Tab title="Python">
</Tab>
<Tab title="YAML">
</Tabs>
| Component | Parameter | Description |
|---|---|---|
| popover | trigger, children | Click-activated anchored overlay panel. |
popover
trigger
children
| tooltip | child, content | Hover/focus hint wrapping any component (tooltip_wrap alias). |
tooltip
child
content
tooltip_wrap
| toast | message, variant, duration | Transient toast banner (info, success, warning, error). |
toast
message
variant
duration
info
success
warning
error