Component Reference

Every A2UI type the renderer understands, with its key props.

This is the catalog of A2UI type values. Properties go directly on the component object (not under props). Colors are strings ("0xFF007AFF") or semantic tokens. The canonical source is the A2UI schema in the A2UI schema.

Per-widget reference

The Widget Index has a dedicated page for every smart component — with an example chat prompt, the exact A2UI JSON it produces, and its full property table. This page is the quick lookup; the index is the deep dive.

Layout primitives

TypeKey props
containerpadding, color, borderRadius, shadow, child
rowspacing, mainAxisAlignment, children, wrap
columnspacing, mainAxisAlignment, children
stackalignment, clip, children
positionedleft, top, right, bottom, width, height, child (inside stack)
alignx (−1…1), y (−1…1), child
centerchild
paddingpadding (num / [v,h] / [l,t,r,b] / object), child
transformrotateZ, scale, translateX, translateY, child
fractionally_sized_boxwidthFactor, heightFactor, child
wrapspacing, runSpacing, mainAxisAlignment, children
gridcrossAxisCount, mainAxisSpacing, crossAxisSpacing, childAspectRatio, children
sized_boxwidth, height
divider
textcontent, size (small/medium/large), color
iconname, size, color
progressvalue (0–100), label, color

Interactive

TypeKey props
buttonlabel, style (primary/outlined/text/danger), icon, action
slidermin, max, value, label, action
togglevalue, action
input_textplaceholder, id, action
dropdownoptions, value, label, action
Warning

Don't place input_text, slider, progress, or dropdown directly inside a row — wrap in expanded or give an explicit width. Don't use expanded/flexible/spacer outside a row or column.

Animated

TypeKey props
animated_valuefrom, to, prefix, suffix, duration, color, size
gaugevalue, max, label, color, size
sparklinevalues, color, height, width
chartsubtype (line/bar/pie/scatter), title, data (≤100 pts), labels, xLabel, yLabel, minY, maxY
pulseglowColor, intensity, child
typing_textcontent, charDelay, color
fade_in_columnstaggerDelay, spacing, children

Smart components — Tier 1 (pure client)

live_timer · countdown · live_clock · pomodoro · metronome · dice_roller · coin_flip · tic_tac_toe · snake_game · quiz · habit_tracker · breathing · tip_calculator · bmi_calculator · password_generator · color_picker · drawing_canvas · flashcards · poll · markdown_editor · pixel_art · whiteboard

Smart components — Tier 2 (hybrid)

live_weather · live_stock · currency_converter · news_ticker · wiki_summary · dictionary · translator · rss_reader · astronomy · live_sports · recipe_viewer

Smart components — Tier 3 (persistent)

todo_list · notes · journal · budget_tracker · reading_list · kanban_board · code_snippets · bookmarks · contacts

Tier 4+ (platform / experimental)

TypeKey props
data_bounddataSource (url), refreshMs, display (text/metric/json), label
dashboardtemplate (project/monitoring/study/fitness), title
pipelinestages (fetch/transform/filter/count/extract…)
writing_assistantcontent, mode (general/email/code/creative)
custom_widgetid
3d_sceneshapes, autoRotate, wireframe
scene_3dheight, width, shapes, autoRotate, wireframe (orbit controls)

Educational visualizations

TypeKey props
animated_svgcontent (SVG), width, height, backgroundColor
diagramtitle, svg, labels, width, height
node_graphtitle, height, nodes, edges
calendar_viewevents, view (month/week/day), height

SVG animation classes

animate-rise · animate-flow · animate-pulse · animate-smoke · animate-bubble · animate-spin · animate-orbit · animate-heartbeat · animate-float · animate-draw

Colors

Hex strings or theme-adaptive semantic tokens:

TokenMeaning
primary / textPrimaryMain text
secondary / textSecondarySubdued text
muted / textMutedFaint text
accent / accentColorBrand highlight
surface / surfaceBgSurface background
card / cardBgCard background
border / borderColorBorders
success · error · warningStatus colors

Top-level props

PropValues
themedark (default) · light · glassmorphic
jit_bindKey into a JIT code-output dict (see JIT)

Actions

json
"action": { "payload": { "command": "kill_process", "pid": "1234" } }

Commands: kill_process, set_volume, set_brightness, toggle_wifi, run_command (with value), open_app, refresh.