RobotRock
Action widgets

Checkboxes

  • Use when: multiple selections from enum values (type: "array" + items.enum)
  • ui:options: inline: true | false (layout as multi-column cards on wider screens)
schema: {
  type: "object",
  properties: {
    notifyTeams: {
      type: "array",
      uniqueItems: true,
      items: {
        type: "string",
        enum: ["finance", "ops", "security"],
      },
    },
  },
}
ui: {
  notifyTeams: {
    "ui:widget": "checkboxes",
    "ui:options": { inline: true },
  },
}

Inbox preview

Rendered by the dashboard (static preview route). Matches docs light/dark mode. Handle actions are disabled; use the toolbar to submit this example to your inbox or view its configuration.

Action

{
  "id": "approve",
  "title": "Approve",
  "description": "Multiple selections from enum values",
  "schema": {
    "type": "object",
    "properties": {
      "notifyTeams": {
        "type": "array",
        "title": "Notify teams",
        "uniqueItems": true,
        "items": {
          "type": "string",
          "enum": [
            "finance",
            "ops",
            "security"
          ]
        }
      }
    }
  },
  "ui": {
    "notifyTeams": {
      "ui:widget": "checkboxes",
      "ui:options": {
        "inline": true
      }
    }
  }
}

See also

This widget also appears in the full Support Ticket task example.