Card Stack

Two to four cards stacked with CSS transform rotate and translateY, creating a fanned deck effect. The front card shows full title and body; back cards are progressively rotated and faded. No JavaScript — purely presentational. Useful for showcasing multiple items with a premium layered feel.

Surfaces
webmeet-stageapps-script-web
Degraded on
SurfaceNote
pdfCSS transform may not render correctly in all PDF engines
googlechatAbsolute positioning and transforms may collapse in Chat card layout
Fields
FieldType
cardsarray. Each card: {title, body, accent}. Max 4 cards.required
backgroundstring. Card background colour. Default "#1e293b".optional
border_colorstring. Card border colour. Default "rgba(255,255,255,0.08)".optional
heightinteger. Card height in px. Default 160.optional
Example payload
{
  "type": "card_stack",
  "cards": [
    {
      "title": "Card 1",
      "body": "First card content."
    },
    {
      "title": "Card 2",
      "body": "Second card content."
    }
  ]
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:card_stack",
  "displayName": "Card Stack",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/card_stack",
  "capabilities": [
    "web",
    "meet-stage",
    "apps-script-web"
  ],
  "description": "Two to four cards stacked with CSS transform rotate and translateY, creating a fanned deck effect. The front card shows full title and body; back cards are progressively rotated and faded. No JavaScript \u2014 purely presentational. Useful for showcasing multiple items with a premium layered feel.",
  "representativeQueries": [
    "show a CSS-fanned stack of 2\u20134 cards with rotation and opacity tiers",
    "two to four cards stacked with css transform rotate and translatey, creating a fanned deck effect. t",
    "render a card stack"
  ]
}
← 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 →