Confidence Bar

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.

Surfaces
webmeet-stageemailpdfapps-script-web
Degraded on
SurfaceNote
googlechatrenders as plain percentage text e.g. Label 82%; no bar visualisation
Fields
FieldType
labelstring. What is being measured, e.g. Positive Sentiment or Retrieval Relevance.required
valuenumber. Confidence percentage 0-100.required
itemsarray. List of {label, value} for multi-row display instead of single bar.optional
colorstring. Override bar fill colour. Auto-assigned green/amber/red by value band if omitted.optional
Example payload
{
  "type": "confidence_bar",
  "label": "Confidence Bar",
  "value": 75
}
ARD catalog entry
{
  "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"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

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 →