Drive Recent Files

Horizontal swipeable carousel of recently modified Drive files. Each card shows a coloured file-type badge (DOC/XLS/PPT/PDF), name, relative modified time, and owner. On GAS searches files modified in last 30 days via DriveApp; on other surfaces renders from items[] array or Drive REST API.

Surfaces
apps-script-webmeet-stage
Fields
FieldType
titlestring. Section label above carousel. Default "Recent Files".optional
countinteger. Number of files to show, max 20. Default 10.optional
accentstring. Accent colour for active nav dot. Defaultoptional
itemsarray (static connector). File objects for non-GAS surfaces.required
auth_tokenstring (api connector). OAuth2 bearer token for REST API.required
Example payload
{
  "type": "drive_recent_files",
  "items": [
    {
      "label": "Item 1"
    },
    {
      "label": "Item 2"
    }
  ],
  "auth_token": "your-api-token"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:drive_recent_files",
  "displayName": "Drive Recent Files",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/drive_recent_files",
  "capabilities": [
    "apps-script-web",
    "meet-stage"
  ],
  "description": "Horizontal swipeable carousel of recently modified Drive files. Each card shows a coloured file-type badge (DOC/XLS/PPT/PDF), name, relative modified time, and owner. On GAS searches files modified in last 30 days via DriveApp; on other surfaces renders from items[] array or Drive REST API.",
  "representativeQueries": [
    "show a swipeable Drive files carousel \u2014 live on GAS, items[] or api connector on web/meet",
    "horizontal swipeable carousel of recently modified drive files. each card shows a coloured file-type",
    "render a drive recent files"
  ]
}
← 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 →