Multi-sheet xlsx export
Live in demo 59-export-multi-sheet.
When
One workbook, multiple tabs - one per group / region / period.
How
Key API surface:
api.exportData({ format: 'xlsx', sheets: [{ label, rows }, ...] })
See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.
See also
- Demo 59-export-multi-sheet source
- Demo 59-export-multi-sheet prompt sidecar - drop into an LLM context window
- Recipes index