# 2x2 Matrix: Diagram element for AI agents

> Prioritise: 2x2 matrix with items dropping into quadrants

Canonical page: https://agentframes.ai/elements/orange-collage/quad-matrix/
Markdown: https://agentframes.ai/elements/orange-collage/quad-matrix.md

## Overview

- Name: 2x2 Matrix (`quadMatrix`), an element: one HyperFrames block per size
- Part of: the [Orange Collage](https://agentframes.ai/packs/orange-collage.md) pack (21 of 31). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Prioritise: 2x2 matrix with items dropping into quadrants
- Pack: [Orange Collage](https://agentframes.ai/packs/orange-collage.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (stage-fit), 4:5 (stage-fit)
- Canvases: works on chalk-black (`k`); avoid grunge-white (`w`), signal-orange (`o`)
- Typical duration: 1.8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/orange-collage/quad-matrix.mp4
- Poster: https://agentframes.ai/media/orange-collage/quad-matrix.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Orange Collage pack. Add a `quadMatrix` beat to plan.json on a `k` canvas with slots `win` and `dots` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `win` | string | Win | Plain text. | Hand these over first |
| `dots` | json | Dots | JSON array; keep the same shape as the default. | [[0.8,0.82,"Invoice chasing"],[0.7,0.62,"Meeting notes"],[0.25,0.7,"Client strategy"],[0.8,0.25,"Refunds"],[0.2,0.2,"Hiring"]] |

## What your agent can change

### Surface

Prioritise: 2x2 matrix with items dropping into quadrants. Category: `overview`. Canvases: ok `k`; avoid `w, o` (the element vanishes on these). Typical 1.8s; settles at 1.5s.

### Editable (fill through plan.json `slots`)

- `win` (string). Plain text.
- `dots` (json). JSON array; keep the same shape as the default.

Optional style/layout overrides: `x`, `y`. Use them only to fix fit, never to change the brand.

### Protected

Do not change the motion, timing, easing, stop-motion cadence, the palette roles (colours come from frame.md → tokens.css), fonts, or the element's internal layout. Keep copy close to the default length (±25%) so it fits.

### Safe editing

Set values in the beat's `slots` in plan.json, run `tools/validate.mjs`, rebuild, and check `qa/contact.jpg`. Never hand-edit the generated index.html or this element's code for a single video.

## FAQ

### What can my AI agent change in 2x2 Matrix?

Your agent fills the `win` and `dots` slots through plan.json. Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Orange Collage look.

### Which aspect ratios does 2x2 Matrix support?

2x2 Matrix is designed natively for 16:9 and stage-fits into 9:16 and 4:5. A typical beat lasts 1.8s.

### How do I get 2x2 Matrix?

2x2 Matrix is included in the Orange Collage pack, which is part of the AgentFrames All-access subscription along with 47 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Orange Collage

- [Before & After](https://agentframes.ai/elements/orange-collage/before-after.md): Before/after transformation with a torn-edge wipe
- [Cork Board](https://agentframes.ai/elements/orange-collage/cork-board.md): Connected ideas: pinned cards linked by string
- [Cycle](https://agentframes.ai/elements/orange-collage/cycle.md): Repeating process loop of 4 steps around a hub
- [Pros & Cons](https://agentframes.ai/elements/orange-collage/pros-cons.md): Trade-offs: upside vs catch lists with ticks and crosses

## Community

Coming soon.
