RobotRock
Context widgets

Attachments

  • Auto-selected: no (set ui:widget explicitly)
  • ui:options: none
context: {
  data: {
    files: [
      { name: "Budget.xlsx", url: "https://example.com/budget.xlsx" },
      { name: "Forecast.pdf", url: "https://example.com/forecast.pdf" },
    ],
  },
  ui: { files: { "ui:widget": "attachments" } },
}

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.

Context

{
  "data": {
    "files": [
      {
        "name": "Budget.xlsx",
        "url": "https://example.com/budget.xlsx"
      },
      {
        "name": "Forecast.pdf",
        "url": "https://example.com/forecast.pdf"
      }
    ]
  },
  "ui": {
    "files": {
      "ui:title": "Attachments",
      "ui:widget": "attachments"
    }
  }
}

See also

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