Format & Import Mapping
Tracking docs for the Grida IR schema and how external formats map into it.
Pages
| Page | Description |
|---|---|
| Grida IR | Canonical IR reference — node types, paint, layout |
| CSS | CSS → Grida IR property mapping and TODO tracker |
| HTML | HTML element → Grida IR node mapping |
| SVG | SVG → usvg → Grida IR mapping and TODO tracker |
How to use these docs
- Status key: ✅ mapped | ⚠️ partial | 🔧 IR exists, not wired | ❌ IR missing | 🚫 out of scope
- Each page tracks what is implemented, what is partially done, and what is blocked by missing IR fields.
- The IR Gaps section in each page identifies schema changes that would unblock further progress.
- For the on-disk
.gridafile format (FlatBuffers schema), seeformat/grida.fbs.
Related
- FlatBuffers schema:
format/grida.fbs— the canonical on-disk file format - Rust runtime model:
crates/grida-canvas/src/node/schema.rs - TypeScript model:
packages/grida-canvas-schema/grida.ts - HTML import pipeline:
crates/grida-canvas/src/html/ - SVG import pipeline:
crates/grida-canvas/src/svg/