ComparisonTable
Data displayFeature matrix comparing options side by side. options are the option names as strings; rows [{feature, values}] with one value per option, in the same order, each true/false/text; highlight is the recommended option's index in options (0 is the first).
Props
Generated from the Zod definition. In A2UI 1.0 any value may also be a { "@path" } binding into the surface data model or a { "@call" } function call.
| Prop | Type | Required | Description |
|---|---|---|---|
| title | string | No | Heading shown at the top of the component. |
| options | string[] | Yes | Choices as { value, label } pairs. |
| rows | { feature, values }[] | Yes | Row objects keyed by column key. |
| highlight | number | No | - |
Used by templates
No fixed template uses ComparisonTable yet. The dynamic composer can still place it in any surface.