Parallax Card

A card with CSS perspective and a mousemove JavaScript handler that rotates the card along both axes in response to cursor position, creating a 3D parallax tilt effect. Text layers use translateZ to create depth separation. Requires a minimal inline script.

Surfaces
webgas-sidebar
Degraded on
SurfaceNote
meet-stageRenders as a flat dark card; mouse events may not propagate through Meet iframe
pdfRenders as a flat static card
googlechatRenders as a plain text card
apps-script-webmousemove events may behave differently when page is embedded in a Workspace sidebar
Fields
FieldType
titlestring. Card heading.optional
bodystring. Card body text.optional
badgestring. Small pill badge above the title.optional
accentstring. Badge background colour. Default "#4f46e5".optional
backgroundstring. Card background. Default "#0f172a".optional
depthinteger. Maximum tilt angle in degrees. Default 15.optional
Example payload
{
  "type": "parallax_card"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:parallax_card",
  "displayName": "Parallax Card",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/parallax_card",
  "capabilities": [
    "web",
    "gas-sidebar"
  ],
  "description": "A card with CSS perspective and a mousemove JavaScript handler that rotates the card along both axes in response to cursor position, creating a 3D parallax tilt effect. Text layers use translateZ to create depth separation. Requires a minimal inline script.",
  "representativeQueries": [
    "show a 3D CSS perspective tilt card with mousemove parallax depth",
    "a card with css perspective and a mousemove javascript handler that rotates the card along both axes",
    "render a parallax card"
  ]
}
← 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 →