Variant Selector

CSS-only variant picker — each option is a selectable card with a label and optional description, rendered as hidden radio inputs with label:has(input:checked) styling. Used for product size, colour, or plan variant selection. Adapted from the RadioGroup/RadioItem pattern in OpenUI OUI benchmark samples.

Surfaces
webmeet-stageapps-script-web
Fields
FieldType
namestring. Form field name used in radio input group.required
labelstring. Group label shown above the options.optional
items{'type': 'array', 'description': 'List of {value, title, description?} option objects.'}required
default_valuestring. Pre-selected option value.optional
Example payload
{
  "type": "variant_selector",
  "name": "Variant Selector",
  "items": [
    {
      "label": "Item 1"
    },
    {
      "label": "Item 2"
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:variant_selector",
  "displayName": "Variant Selector",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/variant_selector",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "CSS-only variant picker \u2014 each option is a selectable card with a label and optional description, rendered as hidden radio inputs with label:has(input:checked) styling. Used for product size, colour, or plan variant selection. Adapted from the RadioGroup/RadioItem pattern in OpenUI OUI benchmark samples.",
  "representativeQueries": [
    "show a CSS radio card group for variant or option picking",
    "css-only variant picker \u2014 each option is a selectable card with a label and optional description, re",
    "render a variant selector"
  ]
}
← 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 →