Search DevTools

Jump to any tool or page

A2UI Atomic Catalog

Unexplored

500+ typed UI atoms an agent composes into real rendered interfaces. Free, no API key.

a2uicatalog7 stars2 forksDesign & UX
View source

Install

mcp_config.json

{
  "mcpServers": {
    "ai-a2uicatalog-catalog": {
      "url": "https://a2uicatalog.ai/mcp",
      "type": "streamable-http"
    }
  }
}

Documentation

The vocabulary layer for A2UI — useful for humans · declarative for agents.
The model names an atom. The renderer compiles the HTML, CSS, SVG, and animation.

Independent, unofficial catalog — not affiliated with or endorsed by Google. A2UI is Google's protocol; the official spec lives at a2ui.org.


The idea

Rather than asking an agent to generate custom UI every turn — expensive, fragile, unpredictable — give it a stable vocabulary of atoms and let it compose from those.

The model names an atom; the renderer expands it into the full HTML server-side, and that expansion never re-enters the model's context window — so the tokens spent describing a UI are a fraction of the tokens in the rendered result.

Work in progress. The atom vocabulary itself is stable; what it's for is still being explored. The live catalog and this repo are the vocabulary and its renderers — applying that vocabulary to new use cases (rendering a CLI's own output, for instance, in a sibling project not yet published) is ongoing, not finished.


Connect an agent

The catalog is consumable three ways, no signup for any of them — BYO by design: renders happen in your environment, your data never touches us.

ChannelEndpointWhat an agent gets
MCP servera2uicatalog.ai/mcpTools to browse catalogs, validate/compose payloads, emit render URLs, and render live views on MCP Apps hosts
ARD manifest/.well-known/ard.jsonAgentic Resource Discovery — every atom as a crawlable, typed entry
Machine cataloga2uicatalog.ai/spec.jsonThe full schema in one fetch — types, fields, surface compatibility, degradation notes

5-minute quickstarts: Claude (Desktop / claude.ai) · Gemini Enterprise (BYO-MCP)

As an agent skill — this repo ships a SKILL.md, so any agent using the skills ecosystem can pick up the catalog's when-to-use guidance directly:

npx skills add a2uicatalog/a2ui@a2ui-atomic-catalog

A few atoms, live on the site — click through to a full spec + fields table for each:

glowing_stat stat_card

before_after annotated_code

Browse all 576 atoms →


Google Apps Script renderer — try it live

Most of the catalog's atoms run natively in Google Apps Script (the live count is on /renderer/). No CDN, no dependencies, no server. Paste a JSON block list, get a rendered page.

Protocol support: A2UI v1.0 createSurface messages, with all 18 Basic Catalog components, data-model bindings and button actions. v0.9 and v0.8 input is refused. Details and a minimal v1.0 example: a2uicatalog.ai/renderer/#protocol.

{
  "title": "Hello A2UI",
  "theme": "light",
  "blocks": [
    { "type": "heading", "level": 1, "text": "My first A2UI page" },
    { "type": "callout", "icon": "💡", "text": "Built with A2UI atoms in Google Apps Script." },
    { "type": "chartjs_bar", "title": "Quick chart", "bar_color": "#6366f1",
      "data": [{ "label": "A", "value": 80 }, { "label": "B", "value": 45 }, { "label": "C", "value": 62 }] }
  ]
}

What's in the GAS renderer

FeatureDetail
Most of the catalogApps Script surface — superset of the web article renderer (live count)
CSS-only interactionsTabs, carousel, gallery lightbox, modals, accordions — zero JS required
Inline SVG chartsBar, line, pie, donut, heatmap, punch card, sankey, cohort retention, GitHub activity grid
8 form input typestext, email, select, radio, checkbox, switch, slider, date — native HTML controls
Animation fallbacks32 motion atoms degrade to readable content cards
No CDNWorks inside GAS sandboxed iframes with no external requests
Large payload supportAutomatically switches to POST for schemas too large for a URL

Deploy your own renderer (recommended)

The renderer is fully open source. Deploy your own instance — you own the URL, you own the deployment, no dependency on the catalog's demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd a2ui/apps-script-surface/gas-wired-renderer
clasp login
clasp create --type webapp --title "My A2UI Renderer"
clasp push
clasp deploy
# → Your renderer is live at https://script.google.com/macros/s/YOUR_ID/exec

Call it with any payload from the catalog (illustrative — encode() stands in for gzip + base64url of the JSON, see scripts/make_url.py for the exact encoding):

function doGet() {
  const blocks = [
    { type: "stat_card", value: "1,234", label: "Daily users", delta: "+12%", is_up: true },
    { type: "progress_bar", value: 75, label: "Q2 target" }
  ];
  const url = "https://script.google.com/macros/s/YOUR_ID/exec";
  return HtmlService.createHtmlOutput(
    ``
  );
}

The catalog's "Try it live" button uses a shared demo instance of the same renderer. For anything beyond exploration, deploy your own.


Demo: how the request travels

That is the trip planner demo's architecture animation, drawn by the arch_motion macro in macro-packs/archpack/. The macro turns a list of nodes, edges and messages (or a Mermaid or D2 diagram) into a wide and a narrow SVG with finite SMIL motion. It uses only the Python standard library, with no network and no model, so the same input gives the same bytes. See it in the trip planner demo.


What's in this repo

DirectoryContents
atoms/Atom schema definitions (schema.yaml)
renderers/Surface renderers — web_article.py is the canonical web renderer
apps-script-surface/GAS renderer — atom.gs + atom files (no CDN); gas-wired-renderer/ is the current one, A2UI v1.0
components/Lit Web Components for the meet-stage surface
scripts/Build pipeline — atom pages, spec.json, MCP bundle, README compat matrix, link/brand checks
vendors/Landscape analysis of 9 UI libraries mapped to A2UI atoms
benchmarks/Token comparison study (BENCHMARK.md)
spec/Internal state/action contracts (gdm-v0.2, a2ui-state-v1) — the A2UI v1.0 candidate spec itself lives at a2ui.org, not vendored here
examples/Playbook YAML examples
knowledge-catalogue/Curriculum-to-atom pipeline — schema-validated curriculum markdown (Brevet 2026, NIST AI RMF) compiled into A2UI payloads. Separate concern from the atom vocabulary itself.
macro-packs/Python macros that draw a picture as SVG. Today: archpack (architecture animation from Mermaid, D2 or JSON) and d3pack (28 macros that draw d3-style charts, 18 of them twins of the catalogue's d3 atoms)

576 atoms across 13 surfaces

Atoms declare which surfaces they support at the schema level. An agent picks an atom by name, supplies parameters, and the renderer handles the rest.

[{
  "type": "stat_card",
  "label": "Daily users",
  "value": "1,234",
  "delta": "+12%"
}]

Agents never write HTML. They compose from the vocabulary.


Surface compatibility

Every atom declares, at the schema level, which of the 13 surfaces it works on and where it degrades (with a note explaining the caveat). The matrix below is generated straight from public/spec.json — the same file agents consume — so this README can no longer drift from the catalog.

View full compatibility matrix (all atoms × 13 surfaces)

576 atoms · generated from public/spec.json by scripts/gen_compat_matrix.py — do not edit by hand.

Atomwebgas-webgas-panelmeetchatchat-chromiummcp-appsclaude-codeandroidemailpdfslidespptxSource · license
abbr_tooltip✅✅—⚠️——✅—✅⚠️———a2uicatalog · MIT
accordion_item✅✅—✅——✅—✅————a2uicatalog · MIT
achievement_badge✅✅—✅⚠️—✅—✅✅✅——a2uicatalog · MIT
action_items✅✅————✅—✅—✅✅✅a2uicatalog · MIT
action_required_card✅✅—✅✅—✅—✅⚠️———a2uicatalog · MIT
actual_vs_estimate✅✅————✅—✅⚠️———a2uicatalog · MIT
adsb_feed—✅———————————a2uicatalog · MIT
agenda_block✅✅————✅—✅————a2uicatalog · MIT
agent_sketchpad✅✅—✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
ai_build_trace—✅————✅—✅————a2uicatalog · MIT
airspace_command_deck—✅—✅——✅—✅————a2uicatalog · MIT
alert_banner✅✅—✅⚠️—✅—✅————UIverse.io community · MIT
ambient_gradient⚠️✅————✅—✅————a2uicatalog · MIT
anchor_list✅✅—✅⚠️—✅—✅✅✅✅✅a2uicatalog · MIT
animated_beam✅✅⚠️✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
animated_border✅✅✅✅——✅—✅————a2uicatalog · MIT
animated_border_card✅✅—✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
animated_counter✅✅—⚠️——✅—✅—⚠️——a2uicatalog · MIT
annotated_code✅✅—✅——✅—✅—⚠️——a2uicatalog · MIT
annotation_highlight✅✅—✅——✅—✅————a2uicatalog · MIT
api_param_table✅✅—⚠️⚠️—✅—✅⚠️———shadcn/ui · MIT
api_reference✅✅—✅⚠️—✅—✅⚠️✅——a2uicatalog · MIT
arc_diagram✅✅————✅—✅—⚠️——a2uicatalog · MIT
article_hero✅✅——⚠️—✅—✅⚠️———a2uicatalog · MIT
article_series_nav✅✅——⚠️—✅—✅⚠️———a2uicatalog · MIT
atom_anatomy✅✅————✅—✅————a2uicatalog · MIT
audio_link✅✅—✅✅—✅—✅✅✅——a2uicatalog · MIT
audio_player✅✅—✅⚠️—✅—✅⚠️———a2uicatalog · MIT
aurora_background✅✅—✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
author_bio_card✅✅——⚠️—✅—✅⚠️———Flowbite · MIT
avatar_group✅✅—✅⚠️—✅—✅⚠️✅——UIverse.io community · MIT
back_button✅✅————✅—✅————a2uicatalog · MIT
badge✅✅————✅✅✅————a2uicatalog · MIT
badge_group✅✅—✅——✅—✅⚠️⚠️——UIverse.io community · MIT
badge_showcase✅✅—✅——✅—✅————a2uicatalog · MIT
before_after✅✅—✅——✅—✅—⚠️——a2uicatalog · MIT
before_after_stack—✅————✅—✅————a2uicatalog · MIT
benchmark_comparison✅✅—✅——✅—✅⚠️———a2uicatalog · MIT
bento_grid✅✅—⚠️——✅—✅⚠️✅✅✅MagicUI / shadcn · MIT
big_reveal✅✅————✅—✅————a2uicatalog · MIT
block_robot✅✅—✅——✅—✅—⚠️——a2uicatalog · MIT
block_rocket✅✅—✅——✅—✅—⚠️——a2uicatalog · MIT
blockquote✅✅————✅—✅————a2uicatalog · MIT
blockquote_with_avatar✅✅—✅⚠️—✅—✅⚠️✅✅✅a2uicatalog · MIT
blur_fade_in✅✅⚠️✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
body✅✅—✅✅—✅✅✅✅✅✅✅a2uicatalog · MIT
box_plot✅✅————✅—✅—⚠️——a2uicatalog · MIT
breadcrumb✅✅—✅⚠️—✅—✅⚠️⚠️——a2uicatalog · MIT
brevet_timeline✅✅————✅—✅————a2uicatalog · MIT
brick_build_3d✅✅————✅—✅————a2uicatalog · MIT
bullet_list✅✅—✅✅—✅—✅✅✅✅✅a2uicatalog · MIT
calendar_today—✅————✅—✅————a2uicatalog · MIT
calendar_upcoming—✅————✅—✅————a2uicatalog · MIT
calibration_plot✅————————————a2uicatalog · MIT
call_mood_board✅✅—✅——✅—✅————a2uicatalog · MIT
callout✅✅—✅⚠️—✅✅✅⚠️✅✅✅a2uicatalog · MIT
candlestick_chart✅✅————✅—✅—⚠️——a2uicatalog · MIT
canvas_plexus✅✅—✅——✅—✅————a2uicatalog · MIT
capability_checklist✅✅—✅⚠️—✅—✅—✅✅✅a2uicatalog · MIT
card_stack✅✅—✅⚠️—✅—✅—⚠️——a2uicatalog · MIT
carousel✅✅—✅——✅—✅—⚠️——a2uicatalog · MIT
case_study_card✅✅—✅——✅—✅————a2uicatalog · MIT
caution_block✅✅——⚠️—✅—✅⚠️———shadcn/ui · MIT
certification_card✅✅—✅——✅—✅————a2uicatalog · MIT
changed_mind✅✅—✅⚠️—✅—✅—✅✅✅a2uicatalog · MIT
changelog_entry✅✅—⚠️⚠️—✅—✅⚠️———shadcn/ui · MIT
chartjs_bar✅✅—⚠️⚠️—✅—✅⚠️———a2uicatalog · MIT
chartjs_line✅✅—⚠️⚠️—✅—✅⚠️———a2uicatalog · MIT
chartjs_pie✅✅—✅⚠️—✅—✅—✅——OpenUI / Thesys · MIT
chat_sequence⚠️✅————✅—✅————[a2uicatalog](https://github.com/a2uicatalog

Sourced from the repository README.

More in Design & UX