Horizontal confidence or probability bar — shows a percentage value with a label and colour-coded fill indicating certainty level. Used for classification confidence, sentiment strength, retrieval relevance scores, or any normalised probability output. Original a2ui-catalogue atom.
| Surface | Note |
|---|---|
| googlechat | renders as plain percentage text e.g. Label 82%; no bar visualisation |
| Field | Type | |
|---|---|---|
| label | string. What is being measured, e.g. Positive Sentiment or Retrieval Relevance. | required |
| value | number. Confidence percentage 0-100. | required |
| items | array. List of {label, value} for multi-row display instead of single bar. | optional |
| color | string. Override bar fill colour. Auto-assigned green/amber/red by value band if omitted. | optional |
{
"type": "confidence_bar",
"label": "Confidence Bar",
"value": 75
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:confidence_bar",
"displayName": "Confidence Bar",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/confidence_bar",
"capabilities": [
"web",
"meet-stage",
"email",
"pdf",
"apps-script-web"
],
"description": "Horizontal confidence or probability bar \u2014 shows a percentage value with a label and colour-coded fill indicating certainty level. Used for classification confidence, sentiment strength, retrieval relevance scores, or any normalised probability output. Original a2ui-catalogue atom.",
"representativeQueries": [
"show a labelled probability bar with colour-coded confidence fill",
"horizontal confidence or probability bar \u2014 shows a percentage value with a label and colour-coded fi",
"render a confidence bar"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →