Trend Indicator

Renders a simple visual indicator (e.g., arrow, icon) representing

Surfaces
webmeet-stagegooglechatemailpdfapps-script-web
Fields
FieldType
trend_directionenum (up, down, stable) - determines the icon or arrow directionrequired
labelstring (descriptive text for the trend, e.g., 'Improving', 'Declining', 'Steady')required
contextstring (optional, additional context, e.g., 'over last 30 days')optional
colorstring (optional, hex or named color for the indicator, e.g., 'green' for 'up', 'red' for 'down')optional
Example payload
{
  "type": "trend_indicator",
  "trend_direction": "up",
  "label": "Trend Indicator"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:trend_indicator",
  "displayName": "Trend Indicator",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/trend_indicator",
  "capabilities": [
    "web",
    "meet-stage",
    "googlechat",
    "email",
    "pdf",
    "apps-script-web"
  ],
  "description": "Renders a simple visual indicator (e.g., arrow, icon) representing",
  "representativeQueries": [
    "show a compact inline value with mini trend bar the direction of a",
    "renders a simple visual indicator (e.g., arrow, icon) representing",
    "render a trend indicator"
  ]
}
← 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 →